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.001103/0.001103, allocations: 97.83 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002345, allocations: 8 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1142, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002935/0.1172, allocations: 1.974 MB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004672/0.1177, allocations: 271.2 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1178, allocations: 8 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.739e-05/0.1179, allocations: 31.77 kB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.1182, allocations: 107.7 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.1183, allocations: 47.94 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.1187, allocations: 219.5 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.1189, allocations: 89.64 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.1191, allocations: 91.66 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1192, allocations: 115.5 kB / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.1193, allocations: 12 kB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/0.1193, allocations: 16 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1194, allocations: 43.78 kB / 361.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.098e-05/0.1195, allocations: 81.52 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1197, allocations: 223.6 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1197, allocations: 4 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.869e-06/0.1197, allocations: 0 / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1197, allocations: 3.938 kB / 361.4 MB, free: 10.59 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.0009471/0.1207, allocations: 0.53 MB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1207, allocations: 12.03 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.1208, allocations: 27.72 kB / 361.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1211, allocations: 246.5 kB / 362.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1212, allocations: 20.56 kB / 362.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.1212, allocations: 24 kB / 362.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.1217, allocations: 250.5 kB / 362.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.1217, allocations: 7.984 kB / 362.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1218, allocations: 12 kB / 362.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1218, allocations: 11.98 kB / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.1221, allocations: 175.8 kB / 362.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1232, allocations: 0.7538 MB / 363.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.1237, allocations: 269.1 kB / 363.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1237, allocations: 7.938 kB / 363.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1238, allocations: 34.56 kB / 363.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.1238, allocations: 0 / 363.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002971/0.1268, allocations: 1.726 MB / 365.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.1268, allocations: 85.11 kB / 365.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.127, allocations: 182.2 kB / 365.7 MB, free: 5.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.127, allocations: 29.7 kB / 365.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1272, allocations: 140.7 kB / 365.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.1273, allocations: 177.4 kB / 366.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.1273, allocations: 8 kB / 366.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003408/0.1277, allocations: 342.8 kB / 366.4 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.1279, allocations: 101.1 kB / 366.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.1281, allocations: 149.5 kB / 366.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.1284, allocations: 128.2 kB / 366.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1284, allocations: 0 / 366.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005749/0.129, allocations: 366.4 kB / 367.1 MB, free: 4.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.129, allocations: 7.953 kB / 367.1 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.1291, allocations: 4 kB / 367.1 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1291, allocations: 0 / 367.1 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.1294, allocations: 103.9 kB / 367.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1295, allocations: 0 / 367.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1296, allocations: 19.94 kB / 367.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.1296, allocations: 23.88 kB / 367.3 MB, free: 4.262 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.0002109/0.1298, allocations: 149.8 kB / 367.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.1299, allocations: 35.66 kB / 367.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.13, allocations: 41.83 kB / 367.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.13, allocations: 4 kB / 367.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.13, allocations: 0 / 367.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.13, allocations: 7.984 kB / 367.5 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.1314, allocations: 0.9437 MB / 368.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.1314, allocations: 3.984 kB / 368.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.1318, allocations: 99.84 kB / 368.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1318, allocations: 0 / 368.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.1318, allocations: 12 kB / 368.6 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1318, allocations: 12.05 kB / 368.6 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1318, allocations: 3.953 kB / 368.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008965/0.1327, allocations: 0.6673 MB / 369.3 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.1328, allocations: 100.8 kB / 369.4 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.1329, allocations: 12 kB / 369.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1331, allocations: 12 kB / 369.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1331, allocations: 23.95 kB / 369.4 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1331, allocations: 12 kB / 369.4 MB, free: 2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.1332, allocations: 127.2 kB / 369.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1332, allocations: 0 / 369.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.1336, allocations: 80 kB / 369.6 MB, free: 1.797 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.0001138/0.1337, allocations: 119.2 kB / 369.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.1341, allocations: 290.7 kB / 370 MB, free: 1.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1341, allocations: 0 / 370 MB, free: 1.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.1343, allocations: 151.8 kB / 370.2 MB, free: 1.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1348, allocations: 64.06 kB / 370.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1409/0.2756, allocations: 1.209 MB / 371.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2759, allocations: 0.7821 MB / 372.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.2761, allocations: 32.34 kB / 372.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.2762, allocations: 32.28 kB / 372.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2762, allocations: 0 / 372.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of Templates: time 0.006126/0.2823, allocations: 2.752 MB / 375 MB, free: 18.73 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","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches