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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007617/0.0007619, allocations: 96.22 kB / 17.3 MB, free: 6.344 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.0009047/0.0009047, allocations: 178.5 kB / 18.21 MB, free: 5.531 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.173/1.173, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004871/0.0004871, allocations: 20.45 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08619, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002224/0.08846, allocations: 2.146 MB / 331.2 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004583/0.08893, allocations: 247.1 kB / 331.4 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.08906, allocations: 4 kB / 331.4 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.08922, allocations: 39.69 kB / 331.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.0894, allocations: 83.31 kB / 331.6 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.0896, allocations: 59.94 kB / 331.6 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.08992, allocations: 302.5 kB / 331.9 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.09013, allocations: 87.89 kB / 332 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.09025, allocations: 103.5 kB / 332.1 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.09042, allocations: 115.5 kB / 332.2 MB, free: 492 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.09046, allocations: 12 kB / 332.2 MB, free: 480 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.345e-05/0.09051, allocations: 20 kB / 332.3 MB, free: 460 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.09056, allocations: 47.77 kB / 332.3 MB, free: 412 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.09069, allocations: 157 kB / 332.5 MB, free: 248 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.09097, allocations: 287 kB / 332.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09099, allocations: 4 kB / 332.7 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.09099, allocations: 0 / 332.7 MB, free: 15.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.09101, allocations: 0 / 332.7 MB, free: 15.95 MB / 286.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.0006823/0.0917, allocations: 0.5262 MB / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.09174, allocations: 8.031 kB / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.0918, allocations: 62.72 kB / 333.3 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.09186, allocations: 32.56 kB / 333.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.09209, allocations: 251.7 kB / 333.6 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.09212, allocations: 24.88 kB / 333.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.09217, allocations: 32.38 kB / 333.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.09256, allocations: 258.9 kB / 333.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.09259, allocations: 0 / 333.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.09262, allocations: 12 kB / 333.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.09264, allocations: 8 kB / 333.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.09293, allocations: 175.8 kB / 334.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009755/0.09392, allocations: 0.7578 MB / 334.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.0943, allocations: 269 kB / 335.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.09448, allocations: 129.7 kB / 335.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.09451, allocations: 8 kB / 335.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.09455, allocations: 34.56 kB / 335.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.303e-06/0.09455, allocations: 0 / 335.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002528/0.09709, allocations: 1.716 MB / 337 MB, free: 11.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.09715, allocations: 81.11 kB / 337.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.09732, allocations: 186.3 kB / 337.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.09735, allocations: 37.7 kB / 337.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.09745, allocations: 136.7 kB / 337.4 MB, free: 10.83 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.09758, allocations: 177.4 kB / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.09764, allocations: 45.69 kB / 337.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.09776, allocations: 334.8 kB / 338 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.09794, allocations: 109.1 kB / 338.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.09814, allocations: 157.5 kB / 338.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.09851, allocations: 278.1 kB / 338.5 MB, free: 9.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.09852, allocations: 0 / 338.5 MB, free: 9.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004863/0.09901, allocations: 369.8 kB / 338.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.09905, allocations: 11.28 kB / 338.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.09906, allocations: 0 / 338.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.09908, allocations: 4.062 kB / 338.9 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.09944, allocations: 103.9 kB / 339 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.09946, allocations: 4 kB / 339 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.09957, allocations: 11.94 kB / 339 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.0996, allocations: 16 kB / 339 MB, free: 9.199 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.0001326/0.09974, allocations: 153.7 kB / 339.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.09981, allocations: 35.61 kB / 339.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.0999, allocations: 37.88 kB / 339.3 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.09991, allocations: 4 kB / 339.3 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.09993, allocations: 8 kB / 339.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.09994, allocations: 3.984 kB / 339.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.1011, allocations: 0.9515 MB / 340.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1011, allocations: 3.938 kB / 340.2 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.1015, allocations: 99.83 kB / 340.3 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1015, allocations: 4 kB / 340.3 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.1015, allocations: 8 kB / 340.3 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1015, allocations: 4 kB / 340.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1015, allocations: 3.984 kB / 340.3 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.1022, allocations: 0.6396 MB / 341 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.1023, allocations: 96.83 kB / 341.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.1023, allocations: 8 kB / 341.1 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1025, allocations: 12 kB / 341.1 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1025, allocations: 35.75 kB / 341.1 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1026, allocations: 16 kB / 341.1 MB, free: 6.961 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.598e-05/0.1027, allocations: 132.3 kB / 341.3 MB, free: 6.832 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1027, allocations: 0 / 341.3 MB, free: 6.832 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.103, allocations: 80 kB / 341.4 MB, free: 6.754 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.0009169/0.1039, allocations: 1.192 MB / 342.5 MB, free: 5.535 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.1043, allocations: 288 kB / 342.8 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1044, allocations: 0 / 342.8 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.1045, allocations: 159.6 kB / 343 MB, free: 5.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.1052, allocations: 68.45 kB / 343 MB, free: 5.031 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.1086, allocations: 3.515 MB / 346.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.109, allocations: 0.7767 MB / 347.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.1091, allocations: 34.97 kB / 347.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1092, allocations: 103.3 kB / 347.5 MB, free: 472 kB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1092, allocations: 0 / 347.5 MB, free: 472 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1984/0.3077, allocations: 5.663 MB / 353.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/0.308, allocations: 213.7 kB / 353.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.091, allocations: 0 / 353.3 MB, free: 10.54 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > 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/jenkins1/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