Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 119.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004267/0.1272, allocations: 3.286 MB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1285, allocations: 0.8335 MB / 485.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1287, allocations: 8 kB / 485.6 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1289, allocations: 75.19 kB / 485.7 MB, free: 308 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.1292, allocations: 174.5 kB / 485.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1294, allocations: 103.9 kB / 485.9 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.13, allocations: 0.6026 MB / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1302, allocations: 181.3 kB / 486.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.1304, allocations: 215.3 kB / 486.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1307, allocations: 238.9 kB / 487.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/0.1308, allocations: 44 kB / 487.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.957e-05/0.1309, allocations: 44 kB / 487.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.131, allocations: 107.5 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.1312, allocations: 266.7 kB / 487.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.1317, allocations: 0.545 MB / 488.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1317, allocations: 4 kB / 488.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1318, allocations: 0 / 488.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1318, allocations: 4 kB / 488.2 MB, free: 13.79 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001098/0.1329, allocations: 0.7562 MB / 488.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1329, allocations: 8.031 kB / 488.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.133, allocations: 56.31 kB / 489 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.1335, allocations: 322.4 kB / 489.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.1335, allocations: 37.38 kB / 489.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.1336, allocations: 60.27 kB / 489.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.1343, allocations: 434.9 kB / 489.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.1343, allocations: 11.89 kB / 489.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.1344, allocations: 20 kB / 489.8 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1344, allocations: 12 kB / 489.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.1349, allocations: 324.4 kB / 490.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.1366, allocations: 1.142 MB / 491.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.1373, allocations: 485.2 kB / 491.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.1376, allocations: 211 kB / 492 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1376, allocations: 8.438 kB / 492 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1377, allocations: 35 kB / 492 MB, free: 9.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 1.914e-06/0.1377, allocations: 0 / 492 MB, free: 9.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.002961/0.1406, allocations: 2.135 MB / 494.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.1408, allocations: 89.61 kB / 494.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.141, allocations: 258.9 kB / 494.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1411, allocations: 33.7 kB / 494.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1412, allocations: 209 kB / 494.7 MB, free: 6.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1414, allocations: 268.1 kB / 495 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.1416, allocations: 118.6 kB / 495.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1417, allocations: 358.7 kB / 495.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.142, allocations: 161.9 kB / 495.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.1423, allocations: 274.1 kB / 495.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.1429, allocations: 466.8 kB / 496.4 MB, free: 5.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.143, allocations: 8 kB / 496.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008059/0.1438, allocations: 0.5668 MB / 496.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1438, allocations: 4 kB / 496.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1438, allocations: 4 kB / 496.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.1438, allocations: 8 kB / 496.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.1444, allocations: 183.7 kB / 497.1 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1445, allocations: 8.281 kB / 497.1 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.1447, allocations: 27.94 kB / 497.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.1448, allocations: 27.94 kB / 497.2 MB, free: 4.238 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.145, allocations: 185.6 kB / 497.4 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.1451, allocations: 43.53 kB / 497.4 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.1452, allocations: 59.64 kB / 497.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1452, allocations: 4 kB / 497.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.1453, allocations: 8 kB / 497.5 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.1453, allocations: 8.016 kB / 497.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.1473, allocations: 1.447 MB / 498.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.1473, allocations: 0 / 498.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.1479, allocations: 163.9 kB / 499.1 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.148, allocations: 4 kB / 499.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.148, allocations: 20.28 kB / 499.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.148, allocations: 12 kB / 499.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.148, allocations: 11.92 kB / 499.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1492, allocations: 0.9041 MB / 0.4883 GB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.1493, allocations: 116.5 kB / 0.4884 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.1493, allocations: 23.92 kB / 0.4885 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1496, allocations: 20 kB / 0.4885 GB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.1497, allocations: 48.38 kB / 0.4885 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.1497, allocations: 20 kB / 0.4885 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.1499, allocations: 185.8 kB / 0.4887 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1499, allocations: 0 / 0.4887 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.1503, allocations: 152 kB / 0.4889 GB, free: 0.6328 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.1505, allocations: 119.1 kB / 0.489 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006739/0.1512, allocations: 451.6 kB / 0.4894 GB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1512, allocations: 0 / 0.4894 GB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.1515, allocations: 247.2 kB / 0.4896 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.1523, allocations: 131.2 kB / 0.4898 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.1547, allocations: 1.656 MB / 0.4914 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.1552, allocations: 0.8524 MB / 0.4922 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.1554, allocations: 60.66 kB / 0.4923 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1555, allocations: 39.44 kB / 0.4923 GB, free: 13.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1555, allocations: 0 / 0.4923 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Templates: time 0.009936/0.1654, allocations: 5.297 MB / 0.4975 GB, free: 7.777 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches