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.001122/0.001122, allocations: 108 kB / 17.06 MB, free: 6.117 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.001186/0.001186, allocations: 199.9 kB / 18 MB, free: 5.191 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.232/1.232, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 39.94 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2389, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003625/0.2426, allocations: 2.481 MB / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000636/0.2432, allocations: 255.1 kB / 402.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.2434, allocations: 7.938 kB / 403 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.2436, allocations: 39.58 kB / 403 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.2438, allocations: 95.19 kB / 403.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.244, allocations: 59.92 kB / 403.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.2444, allocations: 322.5 kB / 403.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.2446, allocations: 111 kB / 403.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.2448, allocations: 115.6 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.245, allocations: 131.4 kB / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.245, allocations: 24 kB / 403.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.261e-05/0.2451, allocations: 28 kB / 403.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.2451, allocations: 55.81 kB / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2453, allocations: 147.3 kB / 404.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.2456, allocations: 316.6 kB / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2456, allocations: 0 / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2456, allocations: 0 / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2456, allocations: 0 / 404.4 MB, free: 4.668 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.0008691/0.2465, allocations: 0.573 MB / 404.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2466, allocations: 8.031 kB / 404.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.218e-05/0.2467, allocations: 58.73 kB / 405 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.2467, allocations: 32.56 kB / 405 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.2471, allocations: 251.8 kB / 405.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2471, allocations: 20.94 kB / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.2471, allocations: 32.31 kB / 405.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.2476, allocations: 259.1 kB / 405.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.2476, allocations: 3.938 kB / 405.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.2476, allocations: 12 kB / 405.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2476, allocations: 8 kB / 405.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.2479, allocations: 175.9 kB / 405.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.249, allocations: 0.7496 MB / 406.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.2494, allocations: 273.9 kB / 406.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.2496, allocations: 125.6 kB / 406.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2496, allocations: 4 kB / 406.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2496, allocations: 46.56 kB / 407 MB, free: 1.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.704e-06/0.2496, allocations: 0 / 407 MB, free: 1.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002597/0.2522, allocations: 1.714 MB / 408.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.2523, allocations: 81.11 kB / 408.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2524, allocations: 182.3 kB / 408.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2525, allocations: 33.7 kB / 409 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.2526, allocations: 144.7 kB / 409.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2527, allocations: 177.3 kB / 409.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.2528, allocations: 70.27 kB / 409.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2529, allocations: 334.8 kB / 409.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2531, allocations: 105.1 kB / 409.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.2533, allocations: 153.5 kB / 409.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.2536, allocations: 294.7 kB / 410.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2536, allocations: 0 / 410.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005019/0.2541, allocations: 373.7 kB / 410.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2542, allocations: 11.44 kB / 410.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2542, allocations: 0 / 410.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2542, allocations: 4 kB / 410.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.2546, allocations: 99.89 kB / 410.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2546, allocations: 8.062 kB / 410.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2547, allocations: 12 kB / 410.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.2547, 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.0001375/0.2549, allocations: 158.2 kB / 410.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.255, allocations: 27.66 kB / 410.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.255, allocations: 41.8 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.255, allocations: 8 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2551, allocations: 0 / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2551, allocations: 0 / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2562, allocations: 0.9504 MB / 411.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2562, allocations: 0 / 411.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.2566, allocations: 95.89 kB / 412 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.2566, allocations: 7.938 kB / 412 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.2567, allocations: 12 kB / 412 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.2567, allocations: 8.062 kB / 412 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2567, allocations: 3.938 kB / 412 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.2574, allocations: 0.6355 MB / 412.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.2575, allocations: 100.8 kB / 412.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.2575, allocations: 11.98 kB / 412.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2577, allocations: 16 kB / 412.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.2578, allocations: 19.97 kB / 412.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.2578, allocations: 19.94 kB / 412.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.463e-05/0.2579, allocations: 140.2 kB / 413 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2579, allocations: 0 / 413 MB, free: 11.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.2582, allocations: 76 kB / 413.1 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.0009681/0.2592, allocations: 1.191 MB / 414.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.2597, allocations: 298.6 kB / 414.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2597, allocations: 0 / 414.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2599, allocations: 155.9 kB / 414.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.2604, allocations: 72.19 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.00385/0.2643, allocations: 3.276 MB / 418 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.2646, allocations: 0.7843 MB / 418.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.2647, allocations: 34.95 kB / 418.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.2649, allocations: 95.41 kB / 418.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2649, allocations: 0 / 418.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.2971, allocations: 6.194 MB / 425.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.1/9.397, allocations: 8.281 kB / 425.1 MB, free: 15.29 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