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.0008255/0.0008256, allocations: 95.88 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008876/0.0008876, allocations: 206.5 kB / 18.29 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.19 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.0002579, allocations: 8 kB / 419.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 63.55 MB / 483.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003159/0.12, allocations: 2.943 MB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1213, allocations: 0.8258 MB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.1215, allocations: 12 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.1216, allocations: 51.56 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.1219, allocations: 150.8 kB / 487 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1221, allocations: 87.92 kB / 487.1 MB, free: 120 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.1226, allocations: 0.5715 MB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.1228, allocations: 146 kB / 487.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.123, allocations: 195.2 kB / 488 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1232, allocations: 215 kB / 488.2 MB, free: 15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.1233, allocations: 24 kB / 488.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.1234, allocations: 24 kB / 488.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.1234, allocations: 83.62 kB / 488.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1236, allocations: 268.5 kB / 488.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.1241, allocations: 0.5174 MB / 489.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1241, allocations: 0 / 489.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1241, allocations: 0 / 489.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1241, allocations: 0 / 489.2 MB, free: 14.08 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.0008924/0.125, allocations: 0.6783 MB / 489.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1251, allocations: 13.95 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.1252, allocations: 52.38 kB / 489.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.1255, allocations: 314.4 kB / 490.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.1255, allocations: 37.38 kB / 490.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/0.1256, allocations: 52.28 kB / 490.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.1263, allocations: 442.9 kB / 490.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.1263, allocations: 11.91 kB / 490.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.1263, allocations: 16 kB / 490.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1264, allocations: 8 kB / 490.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.1269, allocations: 326.2 kB / 491.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.1285, allocations: 1.154 MB / 492.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.1293, allocations: 485.2 kB / 492.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.1296, allocations: 206.9 kB / 492.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1296, allocations: 12.69 kB / 492.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1296, allocations: 46.97 kB / 493 MB, free: 10.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.164e-06/0.1297, allocations: 4 kB / 493 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.002965/0.1326, allocations: 2.139 MB / 495.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.1327, allocations: 85.67 kB / 495.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1329, allocations: 250.9 kB / 495.4 MB, free: 7.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.133, allocations: 37.7 kB / 495.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1331, allocations: 213 kB / 495.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.1333, allocations: 264.1 kB / 495.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.1334, allocations: 69.67 kB / 496 MB, free: 6.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1335, allocations: 362.7 kB / 496.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.1338, allocations: 157.9 kB / 496.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.1341, allocations: 276.8 kB / 496.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.1348, allocations: 470.9 kB / 497.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1348, allocations: 0 / 497.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008511/0.1357, allocations: 0.5668 MB / 497.8 MB, free: 4.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1357, allocations: 11.98 kB / 497.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1357, allocations: 0 / 497.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.1358, allocations: 8.281 kB / 497.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.1363, allocations: 183.7 kB / 498 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.1364, allocations: 8 kB / 498 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.1366, allocations: 27.92 kB / 498 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.1367, allocations: 31.94 kB / 498.1 MB, free: 4.641 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.000225/0.1369, allocations: 178.1 kB / 498.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.137, allocations: 43.53 kB / 498.3 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.1371, allocations: 63.64 kB / 498.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.1371, allocations: 8 kB / 498.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.1372, allocations: 64 / 498.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.1372, allocations: 7.984 kB / 498.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.1392, allocations: 1.446 MB / 499.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1392, allocations: 0 / 499.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/0.1398, allocations: 159.8 kB / 500 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.1398, allocations: 7.938 kB / 500 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.1399, allocations: 23.94 kB / 0.4883 GB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.1399, allocations: 12.33 kB / 0.4883 GB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1399, allocations: 4 kB / 0.4883 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.1411, allocations: 0.9036 MB / 0.4892 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.1412, allocations: 116.6 kB / 0.4893 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.1413, allocations: 23.92 kB / 0.4893 GB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.1416, allocations: 20 kB / 0.4893 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.1417, allocations: 52.31 kB / 0.4894 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.1417, allocations: 20 kB / 0.4894 GB, free: 1.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.1419, allocations: 185.9 kB / 0.4896 GB, free: 1.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1419, allocations: 0 / 0.4896 GB, free: 1.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004985/0.1424, allocations: 140 kB / 0.4897 GB, free: 1.055 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.0001793/0.1426, allocations: 131 kB / 0.4898 GB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007495/0.1433, allocations: 455.5 kB / 0.4903 GB, free: 484 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1434, allocations: 0 / 0.4903 GB, free: 484 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.1437, allocations: 235.4 kB / 0.4905 GB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/0.1446, allocations: 117.7 kB / 0.4906 GB, free: 136 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.1473, allocations: 2.081 MB / 0.4926 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.1478, allocations: 0.8449 MB / 0.4935 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000197/0.148, allocations: 64.64 kB / 0.4935 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.1481, allocations: 43.38 kB / 0.4936 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1481, allocations: 0 / 0.4936 GB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.009737/0.1579, allocations: 4.992 MB / 0.4984 GB, free: 8.062 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches