Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 106.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 187.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3665, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003205/0.3697, allocations: 1.846 MB / 0.5202 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000504/0.3703, allocations: 155.3 kB / 0.5204 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.3704, allocations: 2.969 kB / 0.5204 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.685e-05/0.3706, allocations: 20.14 kB / 0.5204 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.3708, allocations: 56.88 kB / 0.5204 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.371, allocations: 31.19 kB / 0.5205 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.3713, allocations: 188.9 kB / 0.5206 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.3714, allocations: 65.56 kB / 0.5207 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3716, allocations: 64.84 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3717, allocations: 72.12 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.3718, allocations: 14.84 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.533e-05/0.3719, allocations: 18.28 kB / 0.5209 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.3719, allocations: 37.95 kB / 0.5209 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.372, allocations: 78.25 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3723, allocations: 178.2 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3723, allocations: 1.641 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3723, allocations: 4 kB / 0.5211 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3723, allocations: 0 / 0.5211 GB, free: 1.465 MB / 382.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.0005567/0.3729, allocations: 458.8 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3729, allocations: 10.53 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.373, allocations: 47.78 kB / 0.5216 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.3731, allocations: 16.81 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.3732, allocations: 214.1 kB / 0.5219 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3733, allocations: 11.39 kB / 0.5219 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.3733, allocations: 23.84 kB / 0.5219 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.3736, allocations: 164.2 kB / 0.5221 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3736, allocations: 5.953 kB / 0.5221 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3737, allocations: 9.094 kB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3737, allocations: 4.531 kB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3739, allocations: 88.78 kB / 0.5222 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.3747, allocations: 0.6072 MB / 0.5227 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3749, allocations: 135.4 kB / 0.5229 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.375, allocations: 48.58 kB / 0.5229 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.375, allocations: 1.406 kB / 0.5229 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.375, allocations: 40.86 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.3751, allocations: 0 / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009037/0.376, allocations: 378 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.376, allocations: 78.48 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3762, allocations: 145.2 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3762, allocations: 25.7 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.3763, allocations: 130.4 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.3763, allocations: 59.97 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.3764, allocations: 36.95 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3765, allocations: 326.1 kB / 0.5241 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.3766, allocations: 39.25 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3767, allocations: 102.8 kB / 0.5242 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3769, allocations: 160.2 kB / 0.5244 GB, free: 14.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3769, allocations: 4 kB / 0.5244 GB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003889/0.3773, allocations: 228.2 kB / 0.5246 GB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3774, allocations: 8.094 kB / 0.5246 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3774, allocations: 3.297 kB / 0.5246 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.3776, allocations: 51.92 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3778, allocations: 37.02 kB / 0.5247 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.3802, allocations: 2.984 MB / 0.5276 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3803, allocations: 16 kB / 0.5276 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3804, allocations: 7.594 kB / 0.5276 GB, free: 11.47 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.0001489/0.3805, allocations: 135.8 kB / 0.5278 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.3806, allocations: 9.875 kB / 0.5278 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.3806, allocations: 19.48 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3806, allocations: 3.219 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3807, allocations: 1.406 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3807, allocations: 0.5625 kB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.381, allocations: 238.1 kB / 0.528 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.381, allocations: 0 / 0.528 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3812, allocations: 30.36 kB / 0.5281 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.3813, allocations: 53.02 kB / 0.5281 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3814, allocations: 9.703 kB / 0.5281 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.3835, allocations: 2.975 MB / 0.531 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3836, allocations: 0 / 0.531 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.384, allocations: 384.3 kB / 0.5314 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.3841, allocations: 84.34 kB / 0.5315 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3841, allocations: 7.016 kB / 0.5315 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3842, allocations: 5.781 kB / 0.5315 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3843, allocations: 13.56 kB / 0.5315 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.3843, allocations: 3.688 kB / 0.5315 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.631e-05/0.3843, allocations: 96.06 kB / 0.5316 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3844, allocations: 0 / 0.5316 GB, free: 7.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004852/0.3848, allocations: 58.81 kB / 0.5316 GB, free: 7.551 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.0007336/0.3856, allocations: 0.9001 MB / 0.5325 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005955/0.3862, allocations: 353.5 kB / 0.5329 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3862, allocations: 0 / 0.5329 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.3865, allocations: 283.1 kB / 0.5331 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.3871, allocations: 42.03 kB / 0.5332 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.3899, allocations: 2.311 MB / 0.5354 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3903, allocations: 0.7226 MB / 0.5361 GB, free: 3.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.172e-05/0.3904, allocations: 13.34 kB / 0.5361 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.3905, allocations: 41.44 kB / 0.5362 GB, free: 3.5 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3905, allocations: 0 / 0.5362 GB, free: 3.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.4196, allocations: 3.829 MB / 0.5399 GB, free: 1.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.742/10.16, allocations: 19.27 kB / 0.5399 GB, free: 1.684 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches