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.001275/0.001275, allocations: 97.75 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.001534/0.001534, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002443, allocations: 8 kB / 307.7 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 51.53 MB / 359.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003363/0.1386, allocations: 2.171 MB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.1393, allocations: 255 kB / 361.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.1396, allocations: 4 kB / 361.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1397, allocations: 31.75 kB / 361.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.14, allocations: 83.31 kB / 361.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1402, allocations: 51.95 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004367/0.1407, allocations: 310.5 kB / 362.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.1409, allocations: 91.56 kB / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.1412, allocations: 95.59 kB / 362.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.1415, allocations: 127.4 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.1415, allocations: 15.94 kB / 362.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.1416, allocations: 12 kB / 362.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.1417, allocations: 39.84 kB / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.1419, allocations: 165 kB / 362.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.1424, allocations: 299.1 kB / 363 MB, free: 9.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1424, allocations: 0 / 363 MB, free: 9.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1424, allocations: 0 / 363 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.1424, allocations: 0 / 363 MB, free: 9.582 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.001221/0.1436, allocations: 0.5108 MB / 363.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.1437, allocations: 19.91 kB / 363.5 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1439, allocations: 32.64 kB / 363.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.1443, allocations: 251.8 kB / 363.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.1443, allocations: 20.94 kB / 363.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.1444, allocations: 28.38 kB / 363.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.1451, allocations: 255.1 kB / 364.1 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.1451, allocations: 8.094 kB / 364.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.1452, allocations: 15.92 kB / 364.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.1452, allocations: 8 kB / 364.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.1457, allocations: 171.9 kB / 364.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.1471, allocations: 0.7536 MB / 365 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.1477, allocations: 277 kB / 365.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.148, allocations: 121.7 kB / 365.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1481, allocations: 4 kB / 365.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1481, allocations: 47.12 kB / 365.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/0.1481, allocations: 0 / 365.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.003658/0.1518, allocations: 1.709 MB / 367.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.1519, allocations: 85.05 kB / 367.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1521, allocations: 190.1 kB / 367.4 MB, free: 4.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.1522, allocations: 33.7 kB / 367.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1523, allocations: 148.6 kB / 367.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.1525, allocations: 173.5 kB / 367.8 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.1526, allocations: 41.64 kB / 367.8 MB, free: 4.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1527, allocations: 342.8 kB / 368.2 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.153, allocations: 101.1 kB / 368.3 MB, free: 3.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.1533, allocations: 157.5 kB / 368.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.154, allocations: 280.8 kB / 368.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.154, allocations: 0 / 368.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008109/0.1548, allocations: 373.8 kB / 369.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1548, allocations: 4 kB / 369.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1549, allocations: 0 / 369.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1549, allocations: 4 kB / 369.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.1554, allocations: 103.8 kB / 369.2 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1555, allocations: 4 kB / 369.2 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.1557, allocations: 16.06 kB / 369.2 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.1557, allocations: 12 kB / 369.2 MB, free: 2.902 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.1559, allocations: 149.8 kB / 369.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.156, allocations: 27.66 kB / 369.4 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.1562, allocations: 49.78 kB / 369.4 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.1562, allocations: 8 kB / 369.4 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1562, allocations: 3.938 kB / 369.4 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1562, allocations: 0 / 369.4 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.158, allocations: 0.9547 MB / 370.4 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.158, allocations: 3.938 kB / 370.4 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.1587, allocations: 99.89 kB / 370.5 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1587, allocations: 0 / 370.5 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.1588, allocations: 8 kB / 370.5 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.1588, allocations: 4 kB / 370.5 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1588, allocations: 0 / 370.5 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1599, allocations: 0.6511 MB / 371.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.1601, allocations: 104.8 kB / 371.2 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.1601, allocations: 8 kB / 371.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.1605, allocations: 12 kB / 371.3 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.1605, allocations: 27.97 kB / 371.3 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.1606, allocations: 8 kB / 371.3 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1608, allocations: 131.2 kB / 371.4 MB, free: 0.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1608, allocations: 7.938 kB / 371.4 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000624/0.1614, allocations: 84 kB / 371.5 MB, free: 464 kB / 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 (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.0001467/0.1616, allocations: 107.1 kB / 371.6 MB, free: 348 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007007/0.1623, allocations: 295.6 kB / 371.9 MB, free: 56 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1623, allocations: 0 / 371.9 MB, free: 56 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1697/0.332, allocations: 149.2 kB / 372.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.3328, allocations: 68.95 kB / 372.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3346, allocations: 1.253 MB / 373.4 MB, free: 18.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3348, allocations: 0.775 MB / 374.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.335, allocations: 33.05 kB / 374.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.3351, allocations: 28.28 kB / 374.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3351, allocations: 0 / 374.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of Templates: time 0.00647/0.3416, allocations: 2.871 MB / 377.1 MB, free: 17.79 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