Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 79.34 kB / 20.52 MB, free: 1.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 168.1 kB / 23.77 MB, free: 4.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.227/0.227, allocations: 32.38 MB / 270.1 MB, free: 2.695 MB / 254.1 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 71.91 kB / 407.7 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1421, allocations: 61.04 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.004223/0.1463, allocations: 1.608 MB / 470.4 MB, free: 6.707 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003377/0.1467, allocations: 103.6 kB / 470.5 MB, free: 6.605 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.1468, allocations: 0 / 470.5 MB, free: 6.605 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.036e-05/0.1468, allocations: 23.8 kB / 470.5 MB, free: 6.582 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.147, allocations: 35.7 kB / 470.5 MB, free: 6.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.1471, allocations: 27.97 kB / 470.6 MB, free: 6.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1473, allocations: 127.4 kB / 470.7 MB, free: 6.395 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.1475, allocations: 29.28 kB / 470.7 MB, free: 6.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1476, allocations: 47.86 kB / 470.8 MB, free: 6.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1477, allocations: 39.78 kB / 470.8 MB, free: 6.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1477, allocations: 11.94 kB / 470.8 MB, free: 6.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.355e-05/0.1477, allocations: 8 kB / 470.8 MB, free: 6.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.1478, allocations: 27.91 kB / 470.9 MB, free: 6.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.1479, allocations: 43.81 kB / 470.9 MB, free: 6.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1481, allocations: 131.5 kB / 471 MB, free: 6.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1481, allocations: 0 / 471 MB, free: 6.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1481, allocations: 4 kB / 471 MB, free: 6.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.1481, allocations: 0 / 471 MB, free: 6.059 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006513/0.1488, allocations: 322.2 kB / 471.4 MB, free: 5.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1488, allocations: 8.031 kB / 471.4 MB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.1489, allocations: 20.83 kB / 471.4 MB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1492, allocations: 146.3 kB / 471.5 MB, free: 5.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1492, allocations: 8.609 kB / 471.5 MB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.1492, allocations: 12.38 kB / 471.5 MB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.1495, allocations: 129.6 kB / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1495, allocations: 8.125 kB / 471.7 MB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1495, allocations: 3.938 kB / 471.7 MB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1495, allocations: 7.984 kB / 471.7 MB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1496, allocations: 55.97 kB / 471.7 MB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.1504, allocations: 440.2 kB / 472.2 MB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.1505, allocations: 85.17 kB / 472.3 MB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.1506, allocations: 25.8 kB / 472.3 MB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1506, allocations: 4 kB / 472.3 MB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.1506, allocations: 46.44 kB / 472.3 MB, free: 4.625 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1506, allocations: 0 / 472.3 MB, free: 4.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005432/0.1512, allocations: 143.2 kB / 472.5 MB, free: 4.473 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.1513, allocations: 77.11 kB / 472.5 MB, free: 4.379 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1514, allocations: 125.8 kB / 472.7 MB, free: 4.246 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1514, allocations: 29.7 kB / 472.7 MB, free: 4.211 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1515, allocations: 119.8 kB / 472.8 MB, free: 4.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.1515, allocations: 39.62 kB / 472.9 MB, free: 4.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1516, allocations: 29.72 kB / 472.9 MB, free: 4.016 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1518, allocations: 326.8 kB / 473.2 MB, free: 3.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.1518, allocations: 27.94 kB / 473.2 MB, free: 3.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1519, allocations: 92.5 kB / 473.3 MB, free: 3.539 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1521, allocations: 124.8 kB / 473.4 MB, free: 3.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1521, allocations: 0 / 473.4 MB, free: 3.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002851/0.1524, allocations: 167.1 kB / 473.6 MB, free: 3.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1524, allocations: 4 kB / 473.6 MB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1524, allocations: 4 kB / 473.6 MB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.1526, allocations: 37.95 kB / 473.6 MB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.1527, allocations: 31.86 kB / 473.7 MB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.1551, allocations: 2.469 MB / 476.2 MB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.1552, allocations: 20.14 kB / 476.2 MB, free: 444 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1552, allocations: 4.094 kB / 476.2 MB, free: 440 kB / 446.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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.1553, allocations: 121.8 kB / 476.3 MB, free: 308 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.1553, allocations: 15.92 kB / 476.3 MB, free: 292 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.1554, allocations: 8 kB / 476.3 MB, free: 284 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1554, allocations: 4 kB / 476.3 MB, free: 280 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1554, allocations: 0 / 476.3 MB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1554, allocations: 3.938 kB / 476.3 MB, free: 276 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.1556, allocations: 149.2 kB / 476.5 MB, free: 96 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1556, allocations: 4 kB / 476.5 MB, free: 92 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.1557, allocations: 15.98 kB / 476.5 MB, free: 76 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.935e-05/0.1558, allocations: 37.64 kB / 476.5 MB, free: 32 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1558, allocations: 0 / 476.5 MB, free: 32 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2531/0.409, allocations: 2.474 MB / 479 MB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.409, allocations: 0 / 479 MB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.4092, allocations: 310.1 kB / 479.3 MB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.4092, allocations: 8.859 kB / 479.3 MB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.4092, allocations: 1.062 kB / 479.3 MB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4093, allocations: 2.406 kB / 479.3 MB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.4094, allocations: 8.562 kB / 479.3 MB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4094, allocations: 3.562 kB / 479.3 MB, free: 47.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.4094, allocations: 96.38 kB / 479.4 MB, free: 47.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4094, allocations: 1.312 kB / 479.4 MB, free: 47.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003996/0.4098, allocations: 41.95 kB / 479.5 MB, free: 47.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.676e-05/0.4099, allocations: 107.4 kB / 479.6 MB, free: 47.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.4103, allocations: 285.9 kB / 479.8 MB, free: 47.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4103, allocations: 0 / 479.8 MB, free: 47.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.4105, allocations: 268.6 kB / 480.1 MB, free: 46.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.4109, allocations: 20 kB / 480.1 MB, free: 46.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.4116, allocations: 472 kB / 480.6 MB, free: 46.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.826e-05/0.4116, allocations: 93.23 kB / 480.7 MB, free: 46.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.297e-05/0.4117, allocations: 15.58 kB / 480.7 MB, free: 46.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.4117, allocations: 14.44 kB / 480.7 MB, free: 46.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4117, allocations: 0 / 480.7 MB, free: 46.52 MB / 446.1 MB Notification: Performance of Templates: time 0.004465/0.4162, allocations: 1.631 MB / 482.3 MB, free: 46.38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.363992466009222]