Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 227.7 MB / 247.7 MB, free: 10.41 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 64.27 kB / 307.9 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1037, allocations: 50.54 MB / 358.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004056/0.1078, allocations: 2.48 MB / 360.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005828/0.1084, allocations: 263 kB / 361.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1086, allocations: 4 kB / 361.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1088, allocations: 43.58 kB / 361.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.109, allocations: 95.12 kB / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1092, allocations: 71.89 kB / 361.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.1095, allocations: 318.5 kB / 361.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.1098, allocations: 107 kB / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.1099, allocations: 111.6 kB / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.1101, allocations: 131.4 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.1102, allocations: 24 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.1102, allocations: 28 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.1103, allocations: 59.81 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1105, allocations: 143.3 kB / 362.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1108, allocations: 311.2 kB / 362.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1109, allocations: 0 / 362.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1109, allocations: 0 / 362.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1109, allocations: 0 / 362.6 MB, free: 9.801 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.000929/0.1118, allocations: 0.5692 MB / 363.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1119, allocations: 8.031 kB / 363.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.1119, allocations: 32.56 kB / 363.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1123, allocations: 247.8 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1123, allocations: 16.94 kB / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.1124, allocations: 36.28 kB / 363.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.1128, allocations: 255.1 kB / 363.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1128, allocations: 192 / 363.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.1129, allocations: 15.94 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1129, allocations: 4 kB / 363.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.1132, allocations: 175.8 kB / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1143, allocations: 0.7497 MB / 364.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.1148, allocations: 284.2 kB / 365 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.115, allocations: 128.6 kB / 365.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.115, allocations: 7.906 kB / 365.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.115, allocations: 34.56 kB / 365.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 4.919e-06/0.1151, allocations: 4 kB / 365.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002915/0.118, allocations: 1.706 MB / 366.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.1181, allocations: 81.11 kB / 366.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1183, allocations: 195 kB / 367.1 MB, free: 4.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.1183, allocations: 33.7 kB / 367.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1184, allocations: 144.6 kB / 367.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.1186, allocations: 173.5 kB / 367.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.1187, allocations: 78.25 kB / 367.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1189, allocations: 338.8 kB / 367.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1191, allocations: 101.1 kB / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.1193, allocations: 153.5 kB / 368.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.1197, allocations: 287.8 kB / 368.4 MB, free: 3.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1197, allocations: 0 / 368.4 MB, free: 3.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005912/0.1203, allocations: 377.7 kB / 368.7 MB, free: 3.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1203, allocations: 4 kB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1204, allocations: 0 / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1204, allocations: 4 kB / 368.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.1208, allocations: 103.9 kB / 368.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1208, allocations: 4 kB / 368.9 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1209, allocations: 12 kB / 368.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.121, allocations: 12.06 kB / 368.9 MB, free: 3.051 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.0001611/0.1211, allocations: 157.7 kB / 369 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.1212, allocations: 31.56 kB / 369.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.084e-05/0.1213, allocations: 37.86 kB / 369.1 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.1213, allocations: 8 kB / 369.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1214, allocations: 0 / 369.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.1214, allocations: 3.984 kB / 369.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.1228, allocations: 0.9476 MB / 370.1 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1228, allocations: 7.938 kB / 370.1 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.1232, allocations: 99.89 kB / 370.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1233, allocations: 4 kB / 370.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.1233, allocations: 8 kB / 370.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1233, allocations: 4 kB / 370.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1233, allocations: 0 / 370.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008318/0.1242, allocations: 0.6465 MB / 370.8 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.1242, allocations: 108.7 kB / 370.9 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1243, allocations: 12 kB / 371 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1245, allocations: 8 kB / 371 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.1245, allocations: 27.91 kB / 371 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.1245, allocations: 15.98 kB / 371 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1247, allocations: 128.4 kB / 371.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1247, allocations: 4 kB / 371.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003833/0.1251, allocations: 76 kB / 371.2 MB, free: 0.6094 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 (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.0001545/0.1252, allocations: 119.2 kB / 371.3 MB, free: 496 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005604/0.1258, allocations: 310.6 kB / 371.6 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.1258, allocations: 3.938 kB / 371.6 MB, free: 184 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.126, allocations: 155.8 kB / 371.8 MB, free: 28 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1476/0.2737, allocations: 63.27 kB / 371.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.2753, allocations: 1.02 MB / 372.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.2756, allocations: 0.7759 MB / 373.6 MB, free: 18.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.882e-05/0.2757, allocations: 29.62 kB / 373.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2757, allocations: 1.062 kB / 373.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of Templates: time 0.008211/0.2839, allocations: 3.693 MB / 377.4 MB, free: 18.66 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches