Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002567/0.002566, allocations: 175.7 kB / 8.149 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001243, allocations: 90.31 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2584/0.2584, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.126e-06/8.255e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.5122, allocations: 84.17 MB / 0.5476 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5125, allocations: 71.45 kB / 0.5476 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01053/0.5231, allocations: 2.293 MB / 0.5499 GB, free: 12.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.5232, allocations: 7.938 kB / 0.5499 GB, free: 12.56 MB / 394.7 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.0006653/0.5238, allocations: 414.3 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5239, allocations: 8.031 kB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.524, allocations: 15.81 kB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.5242, allocations: 183.9 kB / 0.5505 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.5242, allocations: 8 kB / 0.5505 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.5242, allocations: 16 kB / 0.5505 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002657/0.5245, allocations: 76.62 kB / 0.5506 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.5249, allocations: 141.2 kB / 0.5507 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.5249, allocations: 11.88 kB / 0.5507 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.525, allocations: 4 kB / 0.5507 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.525, allocations: 4 kB / 0.5507 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.5261, allocations: 0.561 MB / 0.5513 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.5264, allocations: 95.52 kB / 0.5514 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.5265, allocations: 49.62 kB / 0.5514 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5266, allocations: 0 / 0.5514 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.5266, allocations: 38.69 kB / 0.5514 GB, free: 10.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.5266, allocations: 0 / 0.5514 GB, free: 10.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005654/0.5272, allocations: 139.2 kB / 0.5516 GB, free: 10.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.5273, allocations: 85.02 kB / 0.5517 GB, free: 10.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.5274, allocations: 117.2 kB / 0.5518 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.5275, allocations: 25.7 kB / 0.5518 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.5276, allocations: 194.5 kB / 0.552 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.5276, allocations: 51.2 kB / 0.552 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.5277, allocations: 3.281 kB / 0.552 GB, free: 10.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5278, allocations: 322.8 kB / 0.5523 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5279, allocations: 28 kB / 0.5524 GB, free: 9.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.5281, allocations: 96.45 kB / 0.5525 GB, free: 9.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.5283, allocations: 63.84 kB / 0.5525 GB, free: 9.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5283, allocations: 0 / 0.5525 GB, free: 9.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005715/0.5289, allocations: 187.1 kB / 0.5527 GB, free: 9.398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5289, allocations: 8.25 kB / 0.5527 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5289, allocations: 4 kB / 0.5527 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.5292, allocations: 45.7 kB / 0.5528 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.5295, allocations: 35.92 kB / 0.5528 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.5324, allocations: 2.573 MB / 0.5553 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.5325, allocations: 11.84 kB / 0.5553 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.5326, allocations: 11.98 kB / 0.5553 GB, free: 6.473 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.5327, allocations: 35.31 kB / 0.5554 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/0.5328, allocations: 19.8 kB / 0.5554 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.5328, allocations: 16.48 kB / 0.5554 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5328, allocations: 4 kB / 0.5554 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5329, allocations: 0 / 0.5554 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5329, allocations: 0 / 0.5554 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.5333, allocations: 202 kB / 0.5556 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5333, allocations: 0 / 0.5556 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.5336, allocations: 27.98 kB / 0.5556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.5339, allocations: 49.64 kB / 0.5557 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.5339, allocations: 0 / 0.5557 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.5367, allocations: 2.598 MB / 0.5582 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5368, allocations: 4.031 kB / 0.5582 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006137/0.5374, allocations: 358.1 kB / 0.5585 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.5375, allocations: 93.05 kB / 0.5586 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.5375, allocations: 7.922 kB / 0.5586 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.5377, allocations: 0 / 0.5586 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.5377, allocations: 4 kB / 0.5586 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.5378, allocations: 11.98 kB / 0.5587 GB, free: 2.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.547e-05/0.5379, allocations: 92.12 kB / 0.5587 GB, free: 2.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006043/0.5385, allocations: 47.84 kB / 0.5588 GB, free: 2.594 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.5387, allocations: 107.2 kB / 0.5589 GB, free: 2.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.5393, allocations: 303.4 kB / 0.5592 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5394, allocations: 0 / 0.5592 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.5398, allocations: 256 kB / 0.5594 GB, free: 1.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.5403, allocations: 28.45 kB / 0.5594 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.5417, allocations: 0.5621 MB / 0.56 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.5422, allocations: 0.7502 MB / 0.5607 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5422, allocations: 4 kB / 0.5607 GB, free: 500 kB / 394.7 MB Notification: Performance of Templates: time 0.007241/0.5495, allocations: 3.149 MB / 0.5638 GB, free: 13.35 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches