Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 79.86 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3505, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003194/0.3537, allocations: 1.86 MB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004121/0.3542, allocations: 157 kB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.3543, allocations: 7.375 kB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.3544, allocations: 21.41 kB / 0.5325 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.3545, allocations: 54.73 kB / 0.5325 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3547, allocations: 33.22 kB / 0.5326 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3549, allocations: 182.2 kB / 0.5327 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.3551, allocations: 64.98 kB / 0.5328 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3552, allocations: 67.14 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3553, allocations: 79.12 kB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.3554, allocations: 14.38 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/0.3554, allocations: 13.91 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.3554, allocations: 36.25 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.3556, allocations: 83.33 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.3558, allocations: 178.9 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3558, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3558, allocations: 1.281 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3558, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005933/0.3564, allocations: 457.4 kB / 0.5337 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3565, allocations: 8.625 kB / 0.5337 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.3566, allocations: 52.33 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.3566, allocations: 22.16 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.3569, allocations: 207.2 kB / 0.534 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.3569, allocations: 15.36 kB / 0.534 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.3569, allocations: 19.78 kB / 0.534 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.3573, allocations: 166.1 kB / 0.5342 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3573, allocations: 7.938 kB / 0.5342 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3573, allocations: 5.844 kB / 0.5342 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3573, allocations: 5.719 kB / 0.5342 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.3575, allocations: 90.05 kB / 0.5343 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.3584, allocations: 0.6068 MB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.3586, allocations: 133.5 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.3587, allocations: 51.7 kB / 0.535 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3588, allocations: 2.75 kB / 0.535 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3588, allocations: 31.94 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3588, allocations: 0 / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000854/0.3597, allocations: 384.3 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.3597, allocations: 83.86 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3599, allocations: 135.5 kB / 0.5356 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3599, allocations: 27.08 kB / 0.5357 GB, free: 9.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.36, allocations: 126.9 kB / 0.5358 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.36, allocations: 58.06 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.3601, allocations: 46.02 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3602, allocations: 321.6 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.3603, allocations: 36.61 kB / 0.5362 GB, free: 8.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3604, allocations: 99.89 kB / 0.5363 GB, free: 8.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.3607, allocations: 159.2 kB / 0.5365 GB, free: 8.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3607, allocations: 5.125 kB / 0.5365 GB, free: 8.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003962/0.3611, allocations: 229.8 kB / 0.5367 GB, free: 8.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3611, allocations: 6.906 kB / 0.5367 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3611, allocations: 2.219 kB / 0.5367 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.3614, allocations: 49.94 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3615, allocations: 40.42 kB / 0.5368 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.3638, allocations: 2.981 MB / 0.5397 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.364, allocations: 13.03 kB / 0.5397 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.364, allocations: 10.97 kB / 0.5397 GB, free: 4.945 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.3642, allocations: 133.7 kB / 0.5399 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.3642, allocations: 14.5 kB / 0.5399 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.3643, allocations: 18.81 kB / 0.5399 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3643, allocations: 2.219 kB / 0.5399 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3643, allocations: 5.25 kB / 0.5399 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3643, allocations: 1.219 kB / 0.5399 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.3646, allocations: 239.2 kB / 0.5401 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3647, allocations: 0 / 0.5401 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.3648, allocations: 29.77 kB / 0.5402 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.365, allocations: 47.02 kB / 0.5402 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.365, allocations: 13.92 kB / 0.5402 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.3671, allocations: 2.975 MB / 0.5431 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3671, allocations: 5.281 kB / 0.5431 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.3676, allocations: 376.8 kB / 0.5435 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.3677, allocations: 84.77 kB / 0.5436 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3677, allocations: 1.938 kB / 0.5436 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3678, allocations: 13.12 kB / 0.5436 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3679, allocations: 13.05 kB / 0.5436 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3679, allocations: 4.094 kB / 0.5436 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.368, allocations: 110 kB / 0.5437 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.368, allocations: 1.188 kB / 0.5437 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.3685, allocations: 53.5 kB / 0.5438 GB, free: 0.8906 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007426/0.3693, allocations: 0.9088 MB / 0.5446 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006782/0.37, allocations: 353.1 kB / 0.545 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.37, allocations: 0 / 0.545 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3704, allocations: 283 kB / 0.5453 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.371, allocations: 34.19 kB / 0.5453 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.3739, allocations: 2.318 MB / 0.5475 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3743, allocations: 0.7263 MB / 0.5483 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.656e-05/0.3744, allocations: 10.69 kB / 0.5483 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.3745, allocations: 41.3 kB / 0.5483 GB, free: 12.65 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3745, allocations: 4 kB / 0.5483 GB, free: 12.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.4071, allocations: 3.827 MB / 0.552 GB, free: 10.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.809/10.22, allocations: 0 / 0.552 GB, free: 10.57 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches