Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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) 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(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008267/0.0008269, allocations: 97.28 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008972/0.0008973, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 4 kB / 307.1 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 51.52 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003794/0.1336, allocations: 2.087 MB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007505/0.1344, allocations: 251.1 kB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.1346, allocations: 8 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1347, allocations: 31.77 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.135, allocations: 75.33 kB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1353, allocations: 47.94 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.1357, allocations: 294.5 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.136, allocations: 93.55 kB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1362, allocations: 91.66 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.1365, allocations: 123.5 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.1365, allocations: 12 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.1366, allocations: 12 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1367, allocations: 39.84 kB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.1368, allocations: 73.58 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1371, allocations: 235.5 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1372, allocations: 0 / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.1372, allocations: 4 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1372, allocations: 3.938 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001057/0.1383, allocations: 0.5262 MB / 362.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1383, allocations: 8.031 kB / 362.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1384, allocations: 27.72 kB / 362.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.1388, allocations: 250.5 kB / 362.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.1389, allocations: 16.56 kB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.139, allocations: 28 kB / 362.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.1397, allocations: 254.5 kB / 363.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.1397, allocations: 7.906 kB / 363.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.1398, allocations: 8 kB / 363.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.1398, allocations: 12 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.1404, allocations: 175.8 kB / 363.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.1421, allocations: 0.7578 MB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.1427, allocations: 276.2 kB / 364.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.1431, allocations: 121.7 kB / 364.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1431, allocations: 4 kB / 364.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1432, allocations: 42.48 kB / 364.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.745e-06/0.1432, allocations: 0 / 364.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004253/0.1475, allocations: 1.712 MB / 366.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.1476, allocations: 89.09 kB / 366.4 MB, free: 5.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1479, allocations: 182.2 kB / 366.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.1479, allocations: 29.7 kB / 366.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1481, allocations: 144.6 kB / 366.7 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.1483, allocations: 169.5 kB / 366.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.1483, allocations: 8 kB / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.1486, allocations: 346.8 kB / 367.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.1489, allocations: 105 kB / 367.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.1493, allocations: 153.5 kB / 367.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.1497, allocations: 124.2 kB / 367.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1498, allocations: 0 / 367.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009452/0.1507, allocations: 367.3 kB / 368 MB, free: 3.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.1508, allocations: 14.59 kB / 368 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1508, allocations: 0 / 368 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1508, allocations: 4 kB / 368 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.1515, allocations: 99.84 kB / 368.1 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.1515, allocations: 7.984 kB / 368.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.1517, allocations: 15.94 kB / 368.1 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.1518, allocations: 12 kB / 368.1 MB, free: 3.695 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.152, allocations: 153.7 kB / 368.3 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.1522, allocations: 27.75 kB / 368.3 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1523, allocations: 45.83 kB / 368.3 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.1524, allocations: 7.984 kB / 368.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1524, allocations: 0 / 368.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1524, allocations: 0 / 368.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.1547, allocations: 0.956 MB / 369.3 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1547, allocations: 0 / 369.3 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/0.1554, allocations: 95.89 kB / 369.4 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.1555, allocations: 4 kB / 369.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.1555, allocations: 12 kB / 369.4 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.1555, allocations: 8.062 kB / 369.4 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.1556, allocations: 3.953 kB / 369.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.1569, allocations: 0.6356 MB / 370.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.157, allocations: 96.83 kB / 370.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.1571, allocations: 8 kB / 370.2 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.1574, allocations: 15.98 kB / 370.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.1575, allocations: 31.92 kB / 370.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.1575, allocations: 12 kB / 370.2 MB, free: 1.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1577, allocations: 127.2 kB / 370.3 MB, free: 1.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1577, allocations: 3.938 kB / 370.3 MB, free: 1.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007077/0.1584, allocations: 80 kB / 370.4 MB, free: 1.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001701/0.1586, allocations: 115.1 kB / 370.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.1594, allocations: 290.7 kB / 370.8 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1595, allocations: 0 / 370.8 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.1599, allocations: 151.8 kB / 371 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009958/0.1609, allocations: 60.2 kB / 371 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1788/0.3397, allocations: 1.216 MB / 372.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3399, allocations: 0.7719 MB / 373 MB, free: 18.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.3401, allocations: 38.53 kB / 373 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.3402, allocations: 27.75 kB / 373.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3402, allocations: 0 / 373.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of Templates: time 0.006246/0.3465, allocations: 2.764 MB / 375.8 MB, free: 18.26 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches