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.001381/0.001381, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 84.42 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1178, allocations: 62.44 MB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00467/0.1225, allocations: 2.865 MB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1242, allocations: 0.7985 MB / 485.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.1244, allocations: 11.94 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1246, allocations: 63.31 kB / 485.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1249, allocations: 126.8 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1252, allocations: 119.8 kB / 485.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.1256, allocations: 446.4 kB / 485.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.1259, allocations: 186 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.1262, allocations: 187.3 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1264, allocations: 191 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.1265, allocations: 36 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.1266, allocations: 39.98 kB / 486.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.1266, allocations: 83.69 kB / 486.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1268, allocations: 203 kB / 486.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.1272, allocations: 454.3 kB / 487.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1272, allocations: 4 kB / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1272, allocations: 0 / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.1273, allocations: 0 / 487.2 MB, free: 14.73 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.0009433/0.1282, allocations: 0.6784 MB / 487.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1283, allocations: 8.031 kB / 487.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.1286, allocations: 68.44 kB / 488 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.129, allocations: 307.4 kB / 488.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1291, allocations: 29.38 kB / 488.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.1291, allocations: 40.38 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.1298, allocations: 381.3 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.1298, allocations: 7.906 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.1298, allocations: 16 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1299, allocations: 12 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.1303, allocations: 243.8 kB / 489 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.1319, allocations: 1.093 MB / 490.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.1324, allocations: 359.6 kB / 490.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.1327, allocations: 174.7 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1328, allocations: 11.98 kB / 490.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1328, allocations: 38.48 kB / 490.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 3.176e-06/0.1328, allocations: 3.984 kB / 490.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003696/0.1365, allocations: 2.443 MB / 493.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.1366, allocations: 110.8 kB / 493.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1368, allocations: 246.7 kB / 493.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1368, allocations: 33.7 kB / 493.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.137, allocations: 180.7 kB / 493.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1371, allocations: 205 kB / 493.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1372, allocations: 86.25 kB / 493.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1374, allocations: 354.7 kB / 494.3 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.1376, allocations: 133 kB / 494.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.1379, allocations: 227.8 kB / 494.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.1385, allocations: 398 kB / 495 MB, free: 6.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1385, allocations: 0 / 495 MB, free: 6.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009779/0.1395, allocations: 0.5654 MB / 495.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1395, allocations: 8 kB / 495.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1396, allocations: 0 / 495.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/0.1399, allocations: 122.5 kB / 495.7 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.1403, allocations: 95.88 kB / 495.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/0.1446, allocations: 5.215 MB / 0.4893 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1448, allocations: 19.98 kB / 0.4893 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.1448, allocations: 20 kB / 0.4893 GB, free: 15.85 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 (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.0001977/0.145, allocations: 164.8 kB / 0.4895 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/0.1452, allocations: 31.62 kB / 0.4895 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.1453, allocations: 54.23 kB / 0.4896 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1453, allocations: 8 kB / 0.4896 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.1453, allocations: 7.938 kB / 0.4896 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1453, allocations: 3.984 kB / 0.4896 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.1473, allocations: 1.327 MB / 0.4909 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1473, allocations: 4 kB / 0.4909 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.1477, allocations: 91.83 kB / 0.491 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.1479, allocations: 98.55 kB / 0.4911 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.148, allocations: 24.11 kB / 0.4911 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003241/0.1512, allocations: 4.423 MB / 0.4954 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1512, allocations: 7.969 kB / 0.4954 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.1525, allocations: 0.9251 MB / 0.4963 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.1526, allocations: 112.7 kB / 0.4964 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.1526, allocations: 16.12 kB / 0.4964 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.1529, allocations: 23.92 kB / 0.4965 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.153, allocations: 47.88 kB / 0.4965 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.153, allocations: 12 kB / 0.4965 GB, free: 7.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.1532, allocations: 182 kB / 0.4967 GB, free: 7.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1532, allocations: 0 / 0.4967 GB, free: 7.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006424/0.1538, allocations: 120 kB / 0.4968 GB, free: 7.613 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.0001228/0.1539, allocations: 111.1 kB / 0.4969 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.1552, allocations: 0.7731 MB / 0.4977 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1552, allocations: 0 / 0.4977 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.1559, allocations: 0.5702 MB / 0.4982 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.1566, allocations: 63.02 kB / 0.4983 GB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1582, allocations: 1.089 MB / 0.4993 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1587, allocations: 0.8202 MB / 0.5001 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1588, allocations: 43.25 kB / 0.5002 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.1589, allocations: 27.44 kB / 0.5002 GB, free: 3.969 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1589, allocations: 0 / 0.5002 GB, free: 3.969 MB / 382.1 MB Notification: Performance of Templates: time 0.1892/0.3481, allocations: 4.463 MB / 0.5046 GB, free: 39.83 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 -s cvode -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