Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 111.9 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 193.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 224 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 43.94 kB / 280.1 MB, free: 3.516 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1124, allocations: 46.63 MB / 326.8 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004007/0.1165, allocations: 2.509 MB / 329.3 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004739/0.117, allocations: 255 kB / 329.5 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1171, allocations: 4 kB / 329.5 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1173, allocations: 31.7 kB / 329.6 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1175, allocations: 83.38 kB / 329.7 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.1176, allocations: 51.89 kB / 329.7 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.118, allocations: 322.5 kB / 330 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.1182, allocations: 103.4 kB / 330.1 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1183, allocations: 115.6 kB / 330.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1185, allocations: 127.4 kB / 330.4 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.1186, allocations: 24 kB / 330.4 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.1186, allocations: 27.94 kB / 330.4 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.1187, allocations: 63.77 kB / 330.5 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.1189, allocations: 151.3 kB / 330.6 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1192, allocations: 306.9 kB / 330.9 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1192, allocations: 3.938 kB / 330.9 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1192, allocations: 0 / 330.9 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1192, allocations: 0 / 330.9 MB, free: 0.6445 MB / 270.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.0008475/0.1201, allocations: 0.5654 MB / 331.5 MB, free: 28 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1201, allocations: 8.031 kB / 331.5 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.1202, allocations: 32.61 kB / 331.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1205, allocations: 255.7 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1205, allocations: 20.94 kB / 331.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.1206, allocations: 32.31 kB / 331.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.121, allocations: 259.1 kB / 332.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.121, allocations: 192 / 332.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.121, allocations: 15.94 kB / 332.1 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.121, allocations: 4 kB / 332.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.1213, allocations: 175.9 kB / 332.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1224, allocations: 0.7538 MB / 333 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.1228, allocations: 272.2 kB / 333.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.123, allocations: 125.6 kB / 333.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1231, allocations: 7.984 kB / 333.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1231, allocations: 34.56 kB / 333.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.1231, allocations: 0 / 333.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002692/0.1258, allocations: 1.712 MB / 335.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.1259, allocations: 81.11 kB / 335.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1261, allocations: 182.3 kB / 335.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1261, allocations: 33.7 kB / 335.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.1262, allocations: 140.7 kB / 335.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.1263, allocations: 169.5 kB / 335.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1265, allocations: 78.25 kB / 335.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1266, allocations: 338.8 kB / 336.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1268, allocations: 105.1 kB / 336.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.127, allocations: 157.5 kB / 336.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.1275, allocations: 286.1 kB / 336.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1275, allocations: 0 / 336.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005121/0.128, allocations: 365.8 kB / 337.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.128, allocations: 7.938 kB / 337.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.128, allocations: 3.984 kB / 337.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.128, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.1284, allocations: 103.8 kB / 337.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1284, allocations: 4 kB / 337.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1285, allocations: 15.98 kB / 337.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1286, allocations: 16.06 kB / 337.2 MB, free: 9.895 MB / 286.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.0001482/0.1287, allocations: 157.7 kB / 337.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.1288, allocations: 27.66 kB / 337.4 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.426e-05/0.1289, allocations: 41.88 kB / 337.4 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1289, allocations: 8 kB / 337.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1289, allocations: 3.984 kB / 337.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1289, allocations: 0 / 337.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1302, allocations: 0.9555 MB / 338.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1302, allocations: 3.938 kB / 338.4 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.1306, allocations: 95.95 kB / 338.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1306, allocations: 8 kB / 338.5 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.1306, allocations: 8 kB / 338.5 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1306, allocations: 0 / 338.5 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1306, allocations: 7.938 kB / 338.5 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009392/0.1316, allocations: 0.6356 MB / 339.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.1317, allocations: 100.8 kB / 339.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.1318, allocations: 8 kB / 339.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.132, allocations: 12 kB / 339.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.132, allocations: 31.81 kB / 339.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1321, allocations: 8 kB / 339.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1322, allocations: 144.2 kB / 339.5 MB, free: 7.527 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1322, allocations: 0 / 339.5 MB, free: 7.527 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1326, allocations: 80 kB / 339.5 MB, free: 7.449 MB / 286.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.0001493/0.1327, allocations: 107.2 kB / 339.6 MB, free: 7.336 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005706/0.1333, allocations: 311.7 kB / 339.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1333, allocations: 4 kB / 339.9 MB, free: 7.031 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.1335, allocations: 160.4 kB / 340.1 MB, free: 6.875 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.1342, allocations: 76.23 kB / 340.2 MB, free: 6.801 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.136, allocations: 1.111 MB / 341.3 MB, free: 5.656 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.1365, allocations: 0.7764 MB / 342.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1366, allocations: 38.89 kB / 342.1 MB, free: 4.816 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.1367, allocations: 27.44 kB / 342.1 MB, free: 4.789 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1367, allocations: 4 kB / 342.1 MB, free: 4.785 MB / 286.1 MB Notification: Performance of Templates: time 0.006559/0.1433, allocations: 3.029 MB / 345.2 MB, free: 1.758 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches