Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_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.001155/0.001155, allocations: 111.5 kB / 17.06 MB, free: 6.09 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.001206/0.001206, allocations: 200 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 39.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2323, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003511/0.2358, allocations: 2.483 MB / 402.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000628/0.2365, allocations: 255 kB / 403 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.2367, allocations: 4 kB / 403 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.237, allocations: 47.56 kB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.2372, allocations: 91.14 kB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.2374, allocations: 63.91 kB / 403.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.2377, allocations: 314.5 kB / 403.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.2379, allocations: 107.1 kB / 403.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2381, allocations: 123.6 kB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.2383, allocations: 131.4 kB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.2383, allocations: 28 kB / 403.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.012e-05/0.2384, allocations: 24 kB / 403.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.2384, allocations: 51.84 kB / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.2386, allocations: 143.3 kB / 404.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.2389, allocations: 324.5 kB / 404.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2389, allocations: 0 / 404.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2389, allocations: 0 / 404.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2389, allocations: 4 kB / 404.4 MB, free: 4.66 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.0007646/0.2397, allocations: 0.5614 MB / 404.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2397, allocations: 8.031 kB / 404.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.999e-05/0.2398, allocations: 66.66 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.2399, allocations: 32.56 kB / 405 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.2401, allocations: 255.7 kB / 405.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2402, allocations: 20.94 kB / 405.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.2402, allocations: 32.38 kB / 405.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.2406, allocations: 259.1 kB / 405.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2406, allocations: 7.938 kB / 405.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.2407, allocations: 8 kB / 405.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2407, allocations: 8 kB / 405.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.2409, allocations: 175.8 kB / 405.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009486/0.2419, allocations: 0.7497 MB / 406.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.2423, allocations: 267.5 kB / 406.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.2424, allocations: 125.7 kB / 406.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2425, allocations: 7.984 kB / 406.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.2425, allocations: 38.56 kB / 407 MB, free: 1.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/0.2425, allocations: 0 / 407 MB, free: 1.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002453/0.2449, allocations: 1.71 MB / 408.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.245, allocations: 85.11 kB / 408.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2452, allocations: 178.3 kB / 408.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2452, allocations: 37.64 kB / 409 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.2453, allocations: 140.7 kB / 409.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.2454, allocations: 177.4 kB / 409.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.2455, allocations: 74.25 kB / 409.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.2456, allocations: 338.8 kB / 409.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2458, allocations: 101.1 kB / 409.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.246, allocations: 161.4 kB / 409.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.2463, allocations: 282.8 kB / 410.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2463, allocations: 0 / 410.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004954/0.2468, allocations: 377.7 kB / 410.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2469, allocations: 4 kB / 410.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2469, allocations: 0 / 410.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2469, allocations: 4 kB / 410.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.2473, allocations: 99.89 kB / 410.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2473, allocations: 4 kB / 410.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2474, allocations: 20 kB / 410.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.2474, allocations: 12 kB / 410.7 MB, free: 13.84 MB / 334.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.0001362/0.2476, allocations: 154.2 kB / 410.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.2477, allocations: 35.64 kB / 410.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.2477, allocations: 33.88 kB / 411 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2478, allocations: 4 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2478, allocations: 7.938 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2478, allocations: 3.984 kB / 411 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.2489, allocations: 0.9465 MB / 411.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.249, allocations: 0 / 411.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.2494, allocations: 103.8 kB / 412 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2494, allocations: 3.938 kB / 412 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.2494, allocations: 8 kB / 412 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2494, allocations: 4 kB / 412 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2494, allocations: 8.047 kB / 412 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.2501, allocations: 0.6355 MB / 412.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.2502, allocations: 104.7 kB / 412.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.2503, allocations: 12 kB / 412.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2504, allocations: 8 kB / 412.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.2505, allocations: 35.89 kB / 412.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.2505, allocations: 12 kB / 412.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.305e-05/0.2506, allocations: 132.3 kB / 413 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2506, allocations: 0 / 413 MB, free: 11.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.251, allocations: 80 kB / 413 MB, free: 11.41 MB / 334.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.0009829/0.252, allocations: 1.202 MB / 414.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.2525, allocations: 290.7 kB / 414.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2525, allocations: 0 / 414.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2527, allocations: 160 kB / 414.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.2533, allocations: 66.7 kB / 414.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.2569, allocations: 3.278 MB / 418 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.2572, allocations: 0.7804 MB / 418.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.2573, allocations: 30.97 kB / 418.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2575, allocations: 95.41 kB / 418.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2575, allocations: 0 / 418.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.2829, allocations: 6.202 MB / 425.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.122, allocations: 4.625 kB / 425.1 MB, free: 15.28 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches