Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 78.62 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1229, allocations: 62.46 MB / 480.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004636/0.1276, allocations: 2.853 MB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1293, allocations: 0.7984 MB / 484.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.1296, allocations: 12 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1298, allocations: 67.31 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.1301, allocations: 114.9 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.1306, allocations: 119.8 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005358/0.1311, allocations: 446.4 kB / 485.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.1315, allocations: 198.1 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.1319, allocations: 171.3 kB / 485.5 MB, free: 480 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1321, allocations: 195.2 kB / 485.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.1322, allocations: 36 kB / 485.7 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1323, allocations: 36 kB / 485.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.1324, allocations: 83.69 kB / 485.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.1327, allocations: 210.9 kB / 486.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.1332, allocations: 446.6 kB / 486.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1332, allocations: 4 kB / 486.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1332, allocations: 0 / 486.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1332, allocations: 0 / 486.5 MB, free: 15.48 MB / 366.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.001113/0.1344, allocations: 0.6784 MB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1344, allocations: 8.031 kB / 487.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.1348, allocations: 72.38 kB / 487.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.1351, allocations: 291.5 kB / 487.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.1352, allocations: 29.38 kB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.1353, allocations: 40.38 kB / 487.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.136, allocations: 389.3 kB / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.136, allocations: 11.84 kB / 488 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.1361, allocations: 19.94 kB / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1361, allocations: 8 kB / 488 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.1366, allocations: 243.8 kB / 488.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.1385, allocations: 1.109 MB / 489.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.1391, allocations: 347.5 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.1394, allocations: 174.5 kB / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1395, allocations: 7.938 kB / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.1396, allocations: 42.55 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.964e-06/0.1396, allocations: 0 / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.004259/0.1439, allocations: 2.453 MB / 492.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.144, allocations: 110.8 kB / 492.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.1443, allocations: 246.7 kB / 492.7 MB, free: 8.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.1443, allocations: 41.64 kB / 492.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1445, allocations: 180.7 kB / 493 MB, free: 8.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.1447, allocations: 197 kB / 493.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1448, allocations: 82.25 kB / 493.2 MB, free: 8.227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.145, allocations: 358.7 kB / 493.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.1453, allocations: 129 kB / 493.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.1456, allocations: 227.8 kB / 493.9 MB, free: 7.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.1463, allocations: 401.9 kB / 494.3 MB, free: 7.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1463, allocations: 0 / 494.3 MB, free: 7.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001101/0.1475, allocations: 0.5576 MB / 494.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1475, allocations: 8.094 kB / 494.9 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1475, allocations: 7.984 kB / 494.9 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/0.1479, allocations: 114.5 kB / 495 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.1483, allocations: 103.8 kB / 495.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.1534, allocations: 5.218 MB / 0.4886 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.1537, allocations: 19.98 kB / 0.4886 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.1537, allocations: 16 kB / 0.4886 GB, free: 0.5742 MB / 366.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.1539, allocations: 165.8 kB / 0.4888 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.154, allocations: 35.62 kB / 0.4888 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.1541, allocations: 54.11 kB / 0.4889 GB, free: 324 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1542, allocations: 7.984 kB / 0.4889 GB, free: 316 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.1542, allocations: 7.938 kB / 0.4889 GB, free: 308 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1542, allocations: 3.984 kB / 0.4889 GB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.1564, allocations: 1.323 MB / 0.4902 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.1564, allocations: 4 kB / 0.4902 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.1569, allocations: 103.9 kB / 0.4903 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003129/0.1572, allocations: 94.52 kB / 0.4904 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.1572, allocations: 15.94 kB / 0.4904 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003888/0.1611, allocations: 4.435 MB / 0.4947 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1611, allocations: 0 / 0.4947 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.1626, allocations: 0.9253 MB / 0.4956 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.1627, allocations: 108.6 kB / 0.4957 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.1628, allocations: 12.06 kB / 0.4957 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.1631, allocations: 19.98 kB / 0.4958 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1632, allocations: 51.88 kB / 0.4958 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.1632, allocations: 16 kB / 0.4958 GB, free: 8.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1634, allocations: 177.9 kB / 0.496 GB, free: 8.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1634, allocations: 0 / 0.496 GB, free: 8.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007164/0.1641, allocations: 124 kB / 0.4961 GB, free: 8.336 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.0001498/0.1643, allocations: 118.5 kB / 0.4962 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.1657, allocations: 0.7814 MB / 0.497 GB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.1657, allocations: 12.12 kB / 0.497 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008528/0.1666, allocations: 0.5778 MB / 0.4976 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.1673, allocations: 63.19 kB / 0.4976 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1692, allocations: 1.13 MB / 0.4987 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.1698, allocations: 0.8202 MB / 0.4995 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.1699, allocations: 31.44 kB / 0.4996 GB, free: 4.656 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1699, allocations: 0 / 0.4996 GB, free: 4.656 MB / 382.1 MB Notification: Performance of Templates: time 0.1867/0.3566, allocations: 9.41 MB / 0.5088 GB, free: 39.96 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches