Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001616/0.001617, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 63.89 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2495, allocations: 50.55 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003522/0.2531, allocations: 2.501 MB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005179/0.2536, allocations: 255 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2537, allocations: 4 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.2539, allocations: 51.5 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.2541, allocations: 87.2 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.2543, allocations: 63.91 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.2546, allocations: 322.5 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.2548, allocations: 99.11 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2549, allocations: 111.6 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.2551, allocations: 131.4 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.2552, allocations: 28 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.933e-05/0.2552, allocations: 24 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.2553, allocations: 55.83 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.2554, allocations: 147.3 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.2558, allocations: 317.6 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2558, allocations: 0 / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2558, allocations: 4 kB / 413 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.2558, allocations: 3.984 kB / 413 MB, free: 13.3 MB / 334.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.0008373/0.2567, allocations: 0.5689 MB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2567, allocations: 12.03 kB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.489e-05/0.2568, allocations: 58.73 kB / 413.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.2569, allocations: 32.75 kB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.2572, allocations: 259.8 kB / 413.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.2572, allocations: 20.94 kB / 413.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.2573, allocations: 24.38 kB / 414 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.2577, allocations: 263 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.2577, allocations: 11.92 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.2577, allocations: 12 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2578, allocations: 8 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.2581, allocations: 171.9 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.2591, allocations: 0.7463 MB / 415.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.2595, allocations: 273.2 kB / 415.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.2597, allocations: 125.7 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.2597, allocations: 0 / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2598, allocations: 42.5 kB / 415.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.182e-06/0.2598, allocations: 4 kB / 415.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002761/0.2626, allocations: 1.719 MB / 417.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.2626, allocations: 85.05 kB / 417.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.2628, allocations: 195 kB / 417.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2629, allocations: 29.7 kB / 417.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.263, allocations: 140.8 kB / 417.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.2631, allocations: 186.4 kB / 417.9 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.2632, allocations: 78.27 kB / 418 MB, free: 7.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2634, allocations: 342.8 kB / 418.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.2636, allocations: 97.09 kB / 418.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.2638, allocations: 161.5 kB / 418.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.2642, allocations: 282.1 kB / 418.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2642, allocations: 0 / 418.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005418/0.2648, allocations: 370 kB / 419.2 MB, free: 6.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2648, allocations: 6.5 kB / 419.2 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2648, allocations: 0 / 419.2 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2648, allocations: 4 kB / 419.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.2652, allocations: 107.8 kB / 419.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2652, allocations: 4 kB / 419.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2654, allocations: 12 kB / 419.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.2654, allocations: 12 kB / 419.4 MB, free: 6.461 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.0001478/0.2655, allocations: 153.8 kB / 419.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.2656, allocations: 31.75 kB / 419.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.607e-05/0.2657, allocations: 49.84 kB / 419.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2657, allocations: 4 kB / 419.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2658, allocations: 3.938 kB / 419.6 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2658, allocations: 0 / 419.6 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.2671, allocations: 0.9429 MB / 420.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2671, allocations: 0 / 420.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.2675, allocations: 95.89 kB / 420.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2675, allocations: 11.88 kB / 420.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.2676, allocations: 8 kB / 420.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.2676, allocations: 4 kB / 420.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2676, allocations: 0 / 420.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.2684, allocations: 0.6514 MB / 421.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.2685, allocations: 104.9 kB / 421.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.2685, allocations: 11.94 kB / 421.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2687, allocations: 8 kB / 421.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2687, allocations: 27.97 kB / 421.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2688, allocations: 16 kB / 421.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.2689, allocations: 131.1 kB / 421.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2689, allocations: 0 / 421.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.2693, allocations: 84 kB / 421.7 MB, free: 4.023 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.001088/0.2704, allocations: 1.196 MB / 422.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004688/0.2708, allocations: 300.4 kB / 423.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2708, allocations: 0 / 423.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.2711, allocations: 159.9 kB / 423.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.2717, allocations: 67.59 kB / 423.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.2755, allocations: 3.273 MB / 426.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.2759, allocations: 0.7726 MB / 427.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.2761, allocations: 38.94 kB / 427.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.2762, allocations: 99.41 kB / 427.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2762, allocations: 0 / 427.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.3116, allocations: 6.094 MB / 433.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.479, allocations: 7.234 kB / 433.7 MB, free: 7.984 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches