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.001136/0.001136, allocations: 114.4 kB / 17.28 MB, free: 6.199 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.001184/0.001184, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.207/1.207, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001261/0.001261, allocations: 51.92 kB / 280.3 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07342/0.07469, allocations: 46.62 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003368/0.07809, allocations: 2.508 MB / 329.4 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.07855, allocations: 251.1 kB / 329.6 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.07866, allocations: 15.88 kB / 329.6 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.07882, allocations: 27.77 kB / 329.7 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.07896, allocations: 79.33 kB / 329.7 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.07912, allocations: 55.94 kB / 329.8 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.07941, allocations: 314.6 kB / 330.1 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.07959, allocations: 107.3 kB / 330.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.0797, allocations: 115.5 kB / 330.3 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.07985, allocations: 131.5 kB / 330.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.07989, allocations: 24 kB / 330.5 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.07994, allocations: 28 kB / 330.5 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.08001, allocations: 63.7 kB / 330.6 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.08013, allocations: 143.3 kB / 330.7 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.08042, allocations: 314.8 kB / 331 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.08043, allocations: 0 / 331 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08044, allocations: 4 kB / 331 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.08045, allocations: 0 / 331 MB, free: 0.5273 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.0007605/0.08121, allocations: 0.5575 MB / 331.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.08126, allocations: 8.031 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.08133, allocations: 58.73 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.08139, allocations: 36.56 kB / 331.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.08163, allocations: 251.7 kB / 331.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.08166, allocations: 24.94 kB / 331.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.08171, allocations: 32.36 kB / 332 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.08212, allocations: 255.1 kB / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.08215, allocations: 11.84 kB / 332.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.08217, allocations: 8 kB / 332.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.08219, allocations: 8 kB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.08246, allocations: 171.9 kB / 332.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.08342, allocations: 0.754 MB / 333.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.0838, allocations: 277 kB / 333.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.08398, allocations: 128.8 kB / 333.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.08401, allocations: 8 kB / 333.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.08404, allocations: 38.56 kB / 333.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 2.785e-06/0.08405, allocations: 0 / 333.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002419/0.08647, allocations: 1.704 MB / 335.3 MB, free: 11.85 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.08653, allocations: 85.11 kB / 335.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.08669, allocations: 178.3 kB / 335.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.08673, allocations: 45.64 kB / 335.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.08682, allocations: 136.7 kB / 335.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.08694, allocations: 177.4 kB / 335.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.08704, allocations: 74.27 kB / 336 MB, free: 11.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.08715, allocations: 338.8 kB / 336.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.08732, allocations: 101.1 kB / 336.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.08752, allocations: 161.5 kB / 336.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.08789, allocations: 282.1 kB / 336.9 MB, free: 10.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0879, allocations: 0 / 336.9 MB, free: 10.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004702/0.08837, allocations: 373.7 kB / 337.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.08839, allocations: 4 kB / 337.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.08841, allocations: 4 kB / 337.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.08843, allocations: 8.062 kB / 337.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.08879, allocations: 107.8 kB / 337.4 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.08881, allocations: 4 kB / 337.4 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.08892, allocations: 8 kB / 337.4 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.08895, allocations: 16 kB / 337.4 MB, free: 9.699 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.0001333/0.08909, allocations: 145.8 kB / 337.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.08915, allocations: 31.66 kB / 337.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.08924, allocations: 37.86 kB / 337.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.08925, allocations: 4 kB / 337.6 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.08926, allocations: 4 kB / 337.6 MB, free: 9.473 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.08928, allocations: 4 kB / 337.6 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.09043, allocations: 0.9593 MB / 338.6 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.09044, allocations: 4 kB / 338.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.09085, allocations: 95.89 kB / 338.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.09086, allocations: 4 kB / 338.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.09089, allocations: 8 kB / 338.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.0909, allocations: 4 kB / 338.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0909, allocations: 0 / 338.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.09159, allocations: 0.6434 MB / 339.3 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.09167, allocations: 100.8 kB / 339.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.09172, allocations: 11.98 kB / 339.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.0919, allocations: 8 kB / 339.4 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.09194, allocations: 31.83 kB / 339.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.09196, allocations: 8 kB / 339.5 MB, free: 7.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.931e-05/0.09206, allocations: 140.3 kB / 339.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09207, allocations: 0 / 339.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000353/0.09242, allocations: 80 kB / 339.7 MB, free: 7.266 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.0009911/0.09342, allocations: 1.184 MB / 340.9 MB, free: 6.055 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.09391, allocations: 316 kB / 341.2 MB, free: 5.746 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.09393, allocations: 3.938 kB / 341.2 MB, free: 5.742 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.09413, allocations: 155.6 kB / 341.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.09473, allocations: 68.16 kB / 341.4 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.09822, allocations: 3.399 MB / 344.8 MB, free: 2.016 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.09855, allocations: 0.7764 MB / 345.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.09868, allocations: 30.97 kB / 345.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.09882, allocations: 99.41 kB / 345.7 MB, free: 1.082 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09882, allocations: 0 / 345.7 MB, free: 1.082 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2796/0.3785, allocations: 5.911 MB / 351.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.3787, allocations: 218.7 kB / 351.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.261, allocations: 0 / 351.8 MB, free: 10.89 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