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.001217/0.001217, allocations: 97.19 kB / 17.58 MB, free: 5.418 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.001194/0.001194, allocations: 192 kB / 18.51 MB, free: 4.508 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.256/1.256, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.00121/0.00121, allocations: 55.92 kB / 280.8 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0756/0.07682, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003299/0.08015, allocations: 2.455 MB / 329.8 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005008/0.08067, allocations: 255 kB / 330.1 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.08083, allocations: 4 kB / 330.1 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.08099, allocations: 39.58 kB / 330.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.08116, allocations: 103.1 kB / 330.2 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.08134, allocations: 71.91 kB / 330.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.08164, allocations: 314.5 kB / 330.6 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.08183, allocations: 103.3 kB / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.08196, allocations: 119.5 kB / 330.8 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.08212, allocations: 123.5 kB / 330.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.08216, allocations: 28 kB / 331 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.637e-05/0.08221, allocations: 24 kB / 331 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.08227, allocations: 67.75 kB / 331.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.0824, allocations: 143.3 kB / 331.2 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.08266, allocations: 306.9 kB / 331.5 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.08268, allocations: 8 kB / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08268, allocations: 0 / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.0827, allocations: 0 / 331.5 MB, free: 236 kB / 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.0007606/0.08346, allocations: 0.5614 MB / 332.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.08351, allocations: 12.03 kB / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.08357, allocations: 58.73 kB / 332.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.08364, allocations: 32.56 kB / 332.2 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.08388, allocations: 255.7 kB / 332.4 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.0839, allocations: 20.94 kB / 332.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.08395, allocations: 24.38 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.08432, allocations: 259.1 kB / 332.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.08435, allocations: 11.84 kB / 332.7 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.08437, allocations: 8 kB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.08439, allocations: 8 kB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.08466, allocations: 175.8 kB / 332.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.08558, allocations: 0.754 MB / 333.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.08596, allocations: 273 kB / 333.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.08612, allocations: 124.8 kB / 334.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.08615, allocations: 11.97 kB / 334.1 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.08617, allocations: 38.56 kB / 334.1 MB, free: 13.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.08618, allocations: 0 / 334.1 MB, free: 13.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002306/0.08849, allocations: 1.705 MB / 335.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.08854, allocations: 81.11 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.08869, allocations: 182.3 kB / 336.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.08872, allocations: 33.7 kB / 336.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.0888, allocations: 136.7 kB / 336.2 MB, free: 11.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.08891, allocations: 181.4 kB / 336.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.089, allocations: 78.27 kB / 336.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.08911, allocations: 334.8 kB / 336.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.08927, allocations: 105.1 kB / 336.9 MB, free: 10.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.08945, allocations: 157.4 kB / 337.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.08982, allocations: 290.1 kB / 337.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.08983, allocations: 0 / 337.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00046/0.0903, allocations: 369.8 kB / 337.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.09032, allocations: 15.11 kB / 337.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.09033, allocations: 3.938 kB / 337.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.09035, allocations: 4 kB / 337.7 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.09071, allocations: 91.91 kB / 337.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.09073, allocations: 11.92 kB / 337.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.09084, allocations: 12.06 kB / 337.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.09086, allocations: 16 kB / 337.9 MB, free: 9.406 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.0001167/0.09099, allocations: 149.8 kB / 338 MB, free: 9.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.09106, allocations: 35.66 kB / 338 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.09114, allocations: 37.88 kB / 338.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.09115, allocations: 4 kB / 338.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.09116, allocations: 7.984 kB / 338.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.09117, allocations: 0 / 338.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.09228, allocations: 0.9517 MB / 339 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0923, allocations: 4.062 kB / 339.1 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.0927, allocations: 103.8 kB / 339.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.09271, allocations: 0 / 339.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.09274, allocations: 12 kB / 339.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.09275, allocations: 4 kB / 339.2 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.09276, allocations: 0 / 339.2 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.09343, allocations: 0.6434 MB / 339.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.09351, allocations: 96.83 kB / 339.9 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.09356, allocations: 12 kB / 339.9 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.09373, allocations: 4 kB / 339.9 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.09378, allocations: 35.81 kB / 340 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.0938, allocations: 12 kB / 340 MB, free: 7.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.89e-05/0.0939, allocations: 136.3 kB / 340.1 MB, free: 7.047 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0939, allocations: 0 / 340.1 MB, free: 7.047 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.09425, allocations: 84 kB / 340.2 MB, free: 6.965 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.0009072/0.09517, allocations: 1.18 MB / 341.4 MB, free: 5.758 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.09566, allocations: 314.6 kB / 341.7 MB, free: 5.449 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.09567, allocations: 0 / 341.7 MB, free: 5.449 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.09586, allocations: 164.4 kB / 341.8 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.09644, allocations: 72.12 kB / 341.9 MB, free: 5.219 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.09988, allocations: 3.279 MB / 345.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1002, allocations: 0.7764 MB / 346 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1003, allocations: 30.97 kB / 346 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1004, allocations: 95.41 kB / 346.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1004, allocations: 0 / 346.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.1231, allocations: 5.995 MB / 352.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.333, allocations: 15.73 kB / 352.1 MB, free: 10.83 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches