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.001895/0.001895, allocations: 114.5 kB / 17.73 MB, free: 5.301 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.002/0.002, allocations: 187 kB / 18.66 MB, free: 4.375 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.283/1.283, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001573/0.001573, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08711, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003375/0.09052, allocations: 2.459 MB / 377.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.09099, allocations: 263 kB / 377.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.09111, allocations: 4 kB / 377.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.09125, allocations: 39.58 kB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.09142, allocations: 95.12 kB / 377.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.09159, allocations: 59.86 kB / 377.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.09192, allocations: 326.4 kB / 377.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.09213, allocations: 103.1 kB / 378 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.09225, allocations: 123.6 kB / 378.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.09243, allocations: 127.4 kB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.09248, allocations: 24 kB / 378.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.655e-05/0.09253, allocations: 24 kB / 378.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.09259, allocations: 55.78 kB / 378.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.09273, allocations: 155.2 kB / 378.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.09307, allocations: 310.7 kB / 378.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.09308, allocations: 3.938 kB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09308, allocations: 3.938 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.09309, allocations: 0 / 378.8 MB, free: 0.918 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.0008028/0.0939, allocations: 0.5689 MB / 379.3 MB, free: 300 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.09395, allocations: 8.031 kB / 379.4 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.09402, allocations: 62.72 kB / 379.4 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.09408, allocations: 36.75 kB / 379.5 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1463/0.2404, allocations: 246 kB / 379.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.2405, allocations: 19.81 kB / 379.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.2405, allocations: 28.98 kB / 379.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.2409, allocations: 257.3 kB / 380 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.241, allocations: 3.953 kB / 380 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.241, allocations: 10.89 kB / 380 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.241, allocations: 5.5 kB / 380 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.2413, allocations: 179.1 kB / 380.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.2422, allocations: 0.7502 MB / 380.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.2425, allocations: 275.2 kB / 381.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.2427, allocations: 126.3 kB / 381.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.2427, allocations: 4.922 kB / 381.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.2427, allocations: 36.56 kB / 381.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.864e-06/0.2427, allocations: 2.844 kB / 381.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002337/0.2451, allocations: 1.71 MB / 383.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.2451, allocations: 89.64 kB / 383.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2453, allocations: 184.5 kB / 383.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2453, allocations: 35.11 kB / 383.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.2453, allocations: 144.8 kB / 383.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.2454, allocations: 183.6 kB / 383.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.272e-05/0.2455, allocations: 74.31 kB / 383.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.2456, allocations: 338.9 kB / 384.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2457, allocations: 107.4 kB / 384.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.2459, allocations: 160.5 kB / 384.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.2463, allocations: 288.7 kB / 384.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2463, allocations: 0 / 384.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004357/0.2467, allocations: 368.9 kB / 385 MB, free: 9.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2467, allocations: 4.625 kB / 385 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2467, allocations: 5.766 kB / 385 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2468, allocations: 4.922 kB / 385 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.2471, allocations: 104.3 kB / 385.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2471, allocations: 3.656 kB / 385.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2472, allocations: 13.95 kB / 385.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2473, allocations: 14.97 kB / 385.2 MB, free: 9.945 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 9.328e-05/0.2474, allocations: 153.2 kB / 385.3 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.2474, allocations: 29.41 kB / 385.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.2475, allocations: 39.97 kB / 385.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2475, allocations: 6.5 kB / 385.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2475, allocations: 0 / 385.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2475, allocations: 6.922 kB / 385.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2486, allocations: 0.9403 MB / 386.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2486, allocations: 9 kB / 386.3 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.249, allocations: 95.03 kB / 386.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.249, allocations: 3.125 kB / 386.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.249, allocations: 8.406 kB / 386.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.249, allocations: 2.281 kB / 386.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.249, allocations: 6.609 kB / 386.5 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.2496, allocations: 0.6499 MB / 387.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.2497, allocations: 102 kB / 387.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.2497, allocations: 7.953 kB / 387.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2499, allocations: 14.75 kB / 387.2 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.2499, allocations: 26.66 kB / 387.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.2499, allocations: 9.953 kB / 387.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.366e-05/0.25, allocations: 135.6 kB / 387.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.25, allocations: 7.469 kB / 387.4 MB, free: 8.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.2504, allocations: 78.47 kB / 387.5 MB, free: 8.469 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.0007325/0.2511, allocations: 1.194 MB / 388.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.2515, allocations: 297.5 kB / 389 MB, free: 7.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2516, allocations: 0 / 389 MB, free: 7.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2517, allocations: 158 kB / 389.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.2523, allocations: 65.86 kB / 389.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.2553, allocations: 3.29 MB / 392.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2556, allocations: 0.7749 MB / 393.2 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.2557, allocations: 33.14 kB / 393.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.2558, allocations: 97.25 kB / 393.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2558, allocations: 4 kB / 393.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.2856, allocations: 6.112 MB / 399.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.25, allocations: 9.172 kB / 399.5 MB, free: 3.074 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 & /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