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.001057/0.001057, allocations: 97.61 kB / 17.72 MB, free: 5.363 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.001082/0.001082, allocations: 188.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.21/1.21, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001197/0.001197, allocations: 55.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07419/0.07539, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003236/0.07867, allocations: 2.459 MB / 377.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006041/0.07931, allocations: 255 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.07954, allocations: 4 kB / 377.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.0797, allocations: 55.5 kB / 377.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.0799, allocations: 79.2 kB / 377.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.08009, allocations: 67.91 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.08042, allocations: 334.3 kB / 377.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.08062, allocations: 103.3 kB / 378 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.08076, allocations: 119.6 kB / 378.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.08094, allocations: 135.4 kB / 378.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.08098, allocations: 24 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.08103, allocations: 24 kB / 378.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.08109, allocations: 59.72 kB / 378.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.08121, allocations: 147.3 kB / 378.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.0815, allocations: 314.9 kB / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.08152, allocations: 0 / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.08153, allocations: 0 / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.08154, allocations: 3.938 kB / 378.8 MB, free: 0.9297 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.0007434/0.08229, allocations: 0.5576 MB / 379.3 MB, free: 324 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.08233, allocations: 12.03 kB / 379.3 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.768e-05/0.0824, allocations: 66.66 kB / 379.4 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.08246, allocations: 32.56 kB / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1426/0.225, allocations: 238.2 kB / 379.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.2251, allocations: 21.88 kB / 379.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.2252, allocations: 31.08 kB / 379.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.2256, allocations: 253.3 kB / 380 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2256, allocations: 2.172 kB / 380 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2256, allocations: 9.312 kB / 380 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2256, allocations: 8.562 kB / 380 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.2259, allocations: 184 kB / 380.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000915/0.2268, allocations: 0.7455 MB / 380.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.2272, allocations: 278.2 kB / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2273, allocations: 124.7 kB / 381.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.2274, allocations: 7 kB / 381.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.2274, allocations: 39.45 kB / 381.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.2274, allocations: 0 / 381.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002479/0.2299, allocations: 1.705 MB / 383.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.2299, allocations: 85.3 kB / 383.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2301, allocations: 191.8 kB / 383.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2301, allocations: 31.56 kB / 383.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.2302, allocations: 137.9 kB / 383.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.62e-05/0.2303, allocations: 174.2 kB / 383.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2304, allocations: 77.53 kB / 383.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.2305, allocations: 343.2 kB / 384.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2307, allocations: 106.3 kB / 384.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.2309, allocations: 157.7 kB / 384.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.2313, allocations: 289 kB / 384.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2313, allocations: 0.6875 kB / 384.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004847/0.2318, allocations: 365.6 kB / 385 MB, free: 9.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2318, allocations: 6.531 kB / 385 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2318, allocations: 5.312 kB / 385 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2318, allocations: 2.156 kB / 385 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.2322, allocations: 100.4 kB / 385.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.2322, allocations: 7.844 kB / 385.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2324, allocations: 11.62 kB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2324, allocations: 14.81 kB / 385.1 MB, free: 9.719 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.0001175/0.2325, allocations: 155.5 kB / 385.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.2326, allocations: 26.48 kB / 385.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.2327, allocations: 45.55 kB / 385.3 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2327, allocations: 3.844 kB / 385.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.2327, allocations: 2.594 kB / 385.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2327, allocations: 4.984 kB / 385.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2338, allocations: 0.942 MB / 386.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2338, allocations: 0 / 386.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.2342, allocations: 101.6 kB / 386.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.2342, allocations: 4.812 kB / 386.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.2343, allocations: 12.25 kB / 386.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2343, allocations: 2.984 kB / 386.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2343, allocations: 5 kB / 386.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.2349, allocations: 0.6458 MB / 387.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.235, allocations: 98.11 kB / 387.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.235, allocations: 12.11 kB / 387.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2352, allocations: 12.22 kB / 387.2 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.2353, allocations: 27.62 kB / 387.2 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2353, allocations: 13.41 kB / 387.2 MB, free: 8.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.2354, allocations: 136 kB / 387.4 MB, free: 8.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2354, allocations: 0 / 387.4 MB, free: 8.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.2358, allocations: 78.34 kB / 387.4 MB, free: 8.242 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.0008462/0.2367, allocations: 1.186 MB / 388.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004555/0.2371, allocations: 307.3 kB / 388.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2371, allocations: 0 / 388.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.2373, allocations: 150 kB / 389.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.2379, allocations: 65.45 kB / 389.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.2412, allocations: 3.28 MB / 392.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.2415, allocations: 0.7766 MB / 393.2 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.2416, allocations: 33.14 kB / 393.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2418, allocations: 98.56 kB / 393.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2418, allocations: 1.469 kB / 393.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.2669, allocations: 6.204 MB / 399.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.638, allocations: 13.48 kB / 399.5 MB, free: 2.855 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