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.001092/0.001092, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001005/0.001005, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.347/1.347, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001298/0.001298, allocations: 52.3 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08652, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00365/0.09021, allocations: 2.459 MB / 377.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.09098, allocations: 251.1 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.09124, allocations: 11.94 kB / 377.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.09151, allocations: 43.58 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.09177, allocations: 91.19 kB / 377.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.09201, allocations: 63.91 kB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.09241, allocations: 326.3 kB / 377.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.09263, allocations: 99.09 kB / 378 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.09281, allocations: 119.6 kB / 378.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.093, allocations: 139.3 kB / 378.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.09306, allocations: 24 kB / 378.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.09312, allocations: 24 kB / 378.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.09318, allocations: 59.77 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.09333, allocations: 143.3 kB / 378.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.09368, allocations: 318.6 kB / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09369, allocations: 0 / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.0937, allocations: 0 / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.09372, allocations: 3.938 kB / 378.8 MB, free: 0.9336 MB / 318.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.000877/0.0946, allocations: 0.5767 MB / 379.4 MB, free: 308 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.09465, allocations: 12.03 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.09472, allocations: 58.73 kB / 379.4 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.09479, allocations: 32.75 kB / 379.5 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1537/0.2485, allocations: 235.8 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2486, allocations: 21.81 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.2486, allocations: 35.16 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.2491, allocations: 252.1 kB / 380 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2491, allocations: 3.969 kB / 380 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.2491, allocations: 8.562 kB / 380 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2492, allocations: 6.875 kB / 380 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.2495, allocations: 183.3 kB / 380.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.2504, allocations: 0.7484 MB / 380.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.2508, allocations: 274.2 kB / 381.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.251, allocations: 131.4 kB / 381.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.251, allocations: 4.125 kB / 381.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2511, allocations: 35.69 kB / 381.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.2511, allocations: 0 / 381.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002527/0.2536, allocations: 1.718 MB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.2536, allocations: 87.48 kB / 383.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.2538, allocations: 190.2 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2538, allocations: 36.42 kB / 383.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.2539, allocations: 138.9 kB / 383.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.254, allocations: 184.1 kB / 383.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.2541, allocations: 78.31 kB / 383.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.2541, allocations: 338.4 kB / 384.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2543, allocations: 102.5 kB / 384.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.2545, allocations: 158.8 kB / 384.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.2548, allocations: 288.9 kB / 384.7 MB, free: 9.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2549, allocations: 2.25 kB / 384.7 MB, free: 9.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000452/0.2553, allocations: 364.3 kB / 385 MB, free: 9.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2553, allocations: 5.969 kB / 385 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.2554, allocations: 5.344 kB / 385 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2554, allocations: 5.359 kB / 385 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.2558, allocations: 106.3 kB / 385.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2558, allocations: 4.141 kB / 385.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2559, allocations: 12.78 kB / 385.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.2559, allocations: 13.84 kB / 385.2 MB, free: 9.723 MB / 318.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.0001092/0.256, allocations: 156 kB / 385.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.2561, allocations: 31.69 kB / 385.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.2562, allocations: 43.62 kB / 385.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.2562, allocations: 5.562 kB / 385.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2562, allocations: 0 / 385.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2562, allocations: 4.672 kB / 385.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2573, allocations: 0.9405 MB / 386.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2573, allocations: 1.25 kB / 386.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.2577, allocations: 100 kB / 386.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2577, allocations: 3.25 kB / 386.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.2578, allocations: 7.906 kB / 386.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2578, allocations: 4.609 kB / 386.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.2578, allocations: 5.469 kB / 386.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.2584, allocations: 0.65 MB / 387.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.2585, allocations: 100.8 kB / 387.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.2586, allocations: 9.094 kB / 387.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2587, allocations: 14.91 kB / 387.2 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.2588, allocations: 26.91 kB / 387.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2588, allocations: 11.8 kB / 387.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.259e-05/0.2589, allocations: 139.7 kB / 387.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2589, allocations: 0 / 387.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.2593, allocations: 81.78 kB / 387.5 MB, free: 8.234 MB / 318.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.0007816/0.2601, allocations: 1.188 MB / 388.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.2605, allocations: 305.1 kB / 389 MB, free: 7.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2605, allocations: 0 / 389 MB, free: 7.195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.2607, allocations: 153.5 kB / 389.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.2613, allocations: 73.31 kB / 389.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.2644, allocations: 3.282 MB / 392.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.2646, allocations: 0.7749 MB / 393.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.2648, allocations: 30.06 kB / 393.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2649, allocations: 95.86 kB / 393.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2649, allocations: 0 / 393.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.2917, allocations: 6.125 MB / 399.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.552, allocations: 18.33 kB / 399.5 MB, free: 2.871 MB / 318.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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