Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008614/0.0008614, allocations: 188.3 kB / 7.803 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.095/1.095, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008595/0.0008595, allocations: 92.77 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1623/0.1623, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.886e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2492, allocations: 58.84 MB / 476.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09924/0.3485, allocations: 84.18 MB / 0.5476 GB, free: 14.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001593/0.3487, allocations: 63.95 kB / 0.5476 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.005861/0.3545, allocations: 2.29 MB / 0.5499 GB, free: 12.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3546, allocations: 0 / 0.5499 GB, free: 12.44 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.0003693/0.3549, allocations: 418.2 kB / 0.5503 GB, free: 11.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.355, allocations: 11.97 kB / 0.5503 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.355, allocations: 15.81 kB / 0.5503 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3551, allocations: 190.7 kB / 0.5505 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3552, allocations: 4 kB / 0.5505 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.3552, allocations: 19.97 kB / 0.5505 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000149/0.3554, allocations: 76.64 kB / 0.5506 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3556, allocations: 141.3 kB / 0.5507 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3556, allocations: 11.84 kB / 0.5507 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3556, allocations: 4 kB / 0.5507 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3556, allocations: 4 kB / 0.5507 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/0.3564, allocations: 0.5571 MB / 0.5513 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3565, allocations: 99.45 kB / 0.5514 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/0.3566, allocations: 45.62 kB / 0.5514 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3566, allocations: 4 kB / 0.5514 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3566, allocations: 34.75 kB / 0.5515 GB, free: 10.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.3566, allocations: 3.938 kB / 0.5515 GB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003412/0.357, allocations: 131.2 kB / 0.5516 GB, free: 10.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.357, allocations: 89 kB / 0.5517 GB, free: 10.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.3571, allocations: 120.8 kB / 0.5518 GB, free: 10.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3571, allocations: 25.7 kB / 0.5518 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.3572, allocations: 124 kB / 0.5519 GB, free: 10.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.3572, allocations: 55.2 kB / 0.552 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.3572, allocations: 0 / 0.552 GB, free: 10.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3574, allocations: 318.8 kB / 0.5523 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.3574, allocations: 32 kB / 0.5523 GB, free: 9.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.3575, allocations: 104.4 kB / 0.5524 GB, free: 9.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.338e-05/0.3576, allocations: 51.95 kB / 0.5525 GB, free: 9.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3576, allocations: 7.938 kB / 0.5525 GB, free: 9.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003136/0.3579, allocations: 191 kB / 0.5527 GB, free: 9.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3579, allocations: 8 kB / 0.5527 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3579, allocations: 0 / 0.5527 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.3581, allocations: 53.94 kB / 0.5527 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3583, allocations: 39.92 kB / 0.5528 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.3601, allocations: 2.585 MB / 0.5553 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.3601, allocations: 11.88 kB / 0.5553 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3602, allocations: 12 kB / 0.5553 GB, free: 6.371 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 7.132e-05/0.3602, allocations: 110.3 kB / 0.5554 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3603, allocations: 7.906 kB / 0.5554 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3603, allocations: 20.5 kB / 0.5554 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3603, allocations: 8 kB / 0.5554 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3603, allocations: 4 kB / 0.5554 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3604, allocations: 3.984 kB / 0.5555 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.3606, allocations: 198 kB / 0.5556 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3606, allocations: 0 / 0.5556 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.3608, allocations: 23.98 kB / 0.5557 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.3609, allocations: 45.64 kB / 0.5557 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3609, allocations: 7.984 kB / 0.5557 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.3627, allocations: 2.586 MB / 0.5582 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3627, allocations: 224 / 0.5582 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003498/0.363, allocations: 375.3 kB / 0.5586 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.3631, allocations: 92.8 kB / 0.5587 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3631, allocations: 8.125 kB / 0.5587 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3632, allocations: 4 kB / 0.5587 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.3632, allocations: 7.984 kB / 0.5587 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3633, allocations: 8 kB / 0.5587 GB, free: 2.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.766e-05/0.3633, allocations: 94.64 kB / 0.5588 GB, free: 2.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.3637, allocations: 51.84 kB / 0.5589 GB, free: 2.418 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.0001059/0.3638, allocations: 95.28 kB / 0.5589 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003699/0.3642, allocations: 307.4 kB / 0.5592 GB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3642, allocations: 3.938 kB / 0.5592 GB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.3645, allocations: 251.5 kB / 0.5595 GB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3648, allocations: 24.48 kB / 0.5595 GB, free: 1.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.3656, allocations: 0.5408 MB / 0.56 GB, free: 1.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.3659, allocations: 0.7421 MB / 0.5608 GB, free: 372 kB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3659, allocations: 0 / 0.5608 GB, free: 372 kB / 394.7 MB Notification: Performance of Templates: time 0.003849/0.3698, allocations: 1.847 MB / 0.5626 GB, free: 14.52 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches