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.001316/0.001321, allocations: 109.7 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.09 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 76.94 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1369, allocations: 62.45 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00435/0.1413, allocations: 2.898 MB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1428, allocations: 0.7868 MB / 483.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.143, allocations: 11.94 kB / 483.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1433, allocations: 47.56 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1435, allocations: 103.2 kB / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.1438, allocations: 95.91 kB / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.1443, allocations: 458.3 kB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.1446, allocations: 182.1 kB / 484 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.1449, allocations: 179.3 kB / 484.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1451, allocations: 191.2 kB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.1452, allocations: 36 kB / 484.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1453, allocations: 47.94 kB / 484.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.1454, allocations: 79.64 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1455, allocations: 203 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.146, allocations: 450.6 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.146, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.146, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.146, allocations: 0 / 485.2 MB, free: 15.86 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.0009741/0.147, allocations: 0.6823 MB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.147, allocations: 12.03 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.1474, allocations: 64.44 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.1477, allocations: 303.5 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1478, allocations: 25.38 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.1478, allocations: 44.38 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.1485, allocations: 385.3 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1485, allocations: 7.906 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.1486, allocations: 16 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1486, allocations: 8 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.149, allocations: 244.4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.1506, allocations: 1.109 MB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.1511, allocations: 347.5 kB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.1514, allocations: 186.4 kB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.1515, allocations: 4 kB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1515, allocations: 38.56 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.382e-06/0.1515, allocations: 0 / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003749/0.1553, allocations: 2.455 MB / 491.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.1553, allocations: 110.8 kB / 491.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1556, allocations: 242.7 kB / 491.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.1556, allocations: 37.7 kB / 491.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1558, allocations: 180.7 kB / 491.7 MB, free: 8.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.1559, allocations: 201 kB / 491.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.156, allocations: 86.25 kB / 491.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1562, allocations: 354.7 kB / 492.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.1564, allocations: 129 kB / 492.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.1568, allocations: 231.8 kB / 492.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.1573, allocations: 401.9 kB / 493 MB, free: 7.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1574, allocations: 0 / 493 MB, free: 7.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009601/0.1583, allocations: 0.5537 MB / 493.6 MB, free: 6.859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1584, allocations: 10.75 kB / 493.6 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1584, allocations: 4 kB / 493.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.1587, allocations: 118.5 kB / 493.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.1591, allocations: 99.81 kB / 493.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/0.1633, allocations: 5.218 MB / 499 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.1636, allocations: 19.98 kB / 499 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.1636, allocations: 20 kB / 499.1 MB, free: 0.957 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.000228/0.1638, allocations: 177.1 kB / 499.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.1639, allocations: 31.62 kB / 499.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.164, allocations: 50.17 kB / 499.3 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.164, allocations: 8 kB / 499.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.1641, allocations: 3.938 kB / 499.3 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1641, allocations: 7.984 kB / 499.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.1659, allocations: 1.335 MB / 0.4889 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1659, allocations: 96 / 0.4889 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.1663, allocations: 99.89 kB / 0.489 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.1666, allocations: 90.52 kB / 0.4891 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.1667, allocations: 24.05 kB / 0.4891 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.1698, allocations: 4.431 MB / 0.4935 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1699, allocations: 0 / 0.4935 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.1711, allocations: 0.9273 MB / 0.4944 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.1712, allocations: 104.6 kB / 0.4945 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.1713, allocations: 16.06 kB / 0.4945 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.1715, allocations: 19.98 kB / 0.4945 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1716, allocations: 51.81 kB / 0.4946 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1717, allocations: 16 kB / 0.4946 GB, free: 9.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.1719, allocations: 178 kB / 0.4947 GB, free: 8.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1719, allocations: 3.938 kB / 0.4947 GB, free: 8.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007329/0.1726, allocations: 120 kB / 0.4949 GB, free: 8.707 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.0001679/0.1728, allocations: 115.2 kB / 0.495 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.1741, allocations: 0.7807 MB / 0.4957 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1741, allocations: 4.188 kB / 0.4957 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.1749, allocations: 0.5758 MB / 0.4963 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006905/0.1756, allocations: 64.33 kB / 0.4964 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.1774, allocations: 1.272 MB / 0.4976 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.1779, allocations: 0.8202 MB / 0.4984 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.178, allocations: 31.28 kB / 0.4984 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.1781, allocations: 31.44 kB / 0.4985 GB, free: 4.875 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1781, allocations: 0 / 0.4985 GB, free: 4.875 MB / 382.1 MB Notification: Performance of Templates: time 0.009304/0.1874, allocations: 4.421 MB / 0.5028 GB, free: 476 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches