Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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 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 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.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: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002472/0.002472, allocations: 179.2 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3852/0.3852, allocations: 43.55 MB / 314.5 MB, free: 8.785 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005478/0.000548, allocations: 16 kB / 383.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1395, allocations: 58.86 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003275/0.1428, allocations: 2.261 MB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1445, allocations: 0.7492 MB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.1447, allocations: 11.94 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.705e-05/0.1448, allocations: 39.69 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1451, allocations: 119.7 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1453, allocations: 75.86 kB / 446 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.1457, allocations: 311.7 kB / 446.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.146, allocations: 141.4 kB / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1462, allocations: 135.4 kB / 446.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1465, allocations: 163.3 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.1465, allocations: 20 kB / 446.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.478e-05/0.1466, allocations: 16 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.1466, allocations: 63.69 kB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.1467, allocations: 97.52 kB / 446.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.1471, allocations: 319.3 kB / 447.2 MB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1471, allocations: 4 kB / 447.2 MB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1471, allocations: 0 / 447.2 MB, free: 8.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1471, allocations: 0 / 447.2 MB, free: 8.555 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009496/0.1481, allocations: 0.612 MB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1481, allocations: 12.02 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.1482, allocations: 43.53 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1485, allocations: 279.3 kB / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1486, allocations: 29 kB / 448.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.1486, allocations: 43.91 kB / 448.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.1493, allocations: 385 kB / 448.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1493, allocations: 0 / 448.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.1493, allocations: 19.95 kB / 448.6 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1494, allocations: 12 kB / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.1499, allocations: 263.8 kB / 448.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.1516, allocations: 1.117 MB / 450 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.1521, allocations: 355.8 kB / 450.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1521, allocations: 4 kB / 450.4 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1522, allocations: 42.5 kB / 450.4 MB, free: 5.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.483e-06/0.1522, allocations: 4 kB / 450.4 MB, free: 5.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003682/0.1559, allocations: 2.459 MB / 452.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.156, allocations: 106.8 kB / 453 MB, free: 2.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.1563, allocations: 246.6 kB / 453.2 MB, free: 2.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1563, allocations: 37.64 kB / 453.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1564, allocations: 188.6 kB / 453.5 MB, free: 1.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.1566, allocations: 201 kB / 453.6 MB, free: 1.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.1566, allocations: 12 kB / 453.7 MB, free: 1.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1567, allocations: 346.8 kB / 454 MB, free: 1.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.157, allocations: 133 kB / 454.1 MB, free: 1.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.1574, allocations: 227.8 kB / 454.4 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1577, allocations: 171.9 kB / 454.5 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1577, allocations: 0 / 454.5 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009148/0.1586, allocations: 0.5655 MB / 455.1 MB, free: 132 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1587, allocations: 11.94 kB / 455.1 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1587, allocations: 4 kB / 455.1 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.197/0.3557, allocations: 118.6 kB / 455.2 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.3562, allocations: 99.38 kB / 455.3 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.3591, allocations: 4.713 MB / 460 MB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3594, allocations: 26.14 kB / 460.1 MB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.3594, allocations: 17.88 kB / 460.1 MB, free: 41.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.3596, allocations: 172.1 kB / 460.2 MB, free: 41.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.3597, allocations: 34.5 kB / 460.3 MB, free: 41.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.3598, allocations: 44.58 kB / 460.3 MB, free: 41.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3598, allocations: 13.67 kB / 460.3 MB, free: 41.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.3598, allocations: 2.906 kB / 460.3 MB, free: 41.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3598, allocations: 3 kB / 460.3 MB, free: 41.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.3614, allocations: 1.342 MB / 461.7 MB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3614, allocations: 3.094 kB / 461.7 MB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.3617, allocations: 96.06 kB / 461.8 MB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.362, allocations: 96.08 kB / 461.9 MB, free: 41.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.362, allocations: 15.75 kB / 461.9 MB, free: 41.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.364, allocations: 4.135 MB / 466 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.364, allocations: 3.938 kB / 466 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.365, allocations: 0.9951 MB / 467 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.3651, allocations: 110.6 kB / 467.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.3652, allocations: 12.47 kB / 467.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.3654, allocations: 19.09 kB / 467.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.3655, allocations: 44.27 kB / 467.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.3655, allocations: 22.28 kB / 467.2 MB, free: 36.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3656, allocations: 172.7 kB / 467.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3656, allocations: 0 / 467.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00063/0.3663, allocations: 121.3 kB / 467.5 MB, free: 36.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.3664, allocations: 113.4 kB / 467.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009488/0.3674, allocations: 0.7742 MB / 468.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3674, allocations: 0 / 468.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.368, allocations: 0.5844 MB / 469 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3685, allocations: 48.73 kB / 469 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3701, allocations: 1.303 MB / 470.3 MB, free: 35.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3704, allocations: 0.8292 MB / 471.2 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3705, allocations: 35.56 kB / 471.2 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.3706, allocations: 31.33 kB / 471.2 MB, free: 34.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3706, allocations: 0 / 471.2 MB, free: 34.51 MB / 382.1 MB Notification: Performance of Templates: time 0.006689/0.3773, allocations: 3.996 MB / 475.2 MB, free: 34.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches