Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 116 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 214.8 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 48.06 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2904, allocations: 53.36 MB / 431.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003837/0.2943, allocations: 2.517 MB / 433.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00062/0.2949, allocations: 259 kB / 433.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.295, allocations: 7.938 kB / 433.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2952, allocations: 43.58 kB / 433.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.2954, allocations: 95.19 kB / 434 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.2956, allocations: 67.84 kB / 434.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.2959, allocations: 318.5 kB / 434.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.2961, allocations: 75.58 kB / 434.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.2963, allocations: 119.6 kB / 434.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.2965, allocations: 131.4 kB / 434.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.2965, allocations: 27.98 kB / 434.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.67e-05/0.2966, allocations: 32 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.2966, allocations: 51.84 kB / 434.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.2968, allocations: 143.3 kB / 435 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.2971, allocations: 319.4 kB / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2971, allocations: 0 / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2971, allocations: 0 / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2971, allocations: 0 / 435.3 MB, free: 2.82 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.000825/0.298, allocations: 0.4976 MB / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.298, allocations: 8.031 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.526e-05/0.2981, allocations: 62.72 kB / 435.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.2981, allocations: 32.75 kB / 435.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.2985, allocations: 198.7 kB / 436.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2985, allocations: 21.03 kB / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.2985, allocations: 28.36 kB / 436.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.299, allocations: 260.4 kB / 436.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.299, allocations: 11.94 kB / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.299, allocations: 8 kB / 436.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.299, allocations: 8 kB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.2993, allocations: 171.8 kB / 436.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3004, allocations: 0.7103 MB / 437.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.3008, allocations: 257.2 kB / 437.6 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.301, allocations: 121.7 kB / 437.7 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.301, allocations: 8 kB / 437.7 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3011, allocations: 34.56 kB / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.443e-06/0.3011, allocations: 0 / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002574/0.3036, allocations: 1.423 MB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.3037, allocations: 85.11 kB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3039, allocations: 192 kB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3039, allocations: 37.7 kB / 439.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.304, allocations: 140.8 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.3042, allocations: 186.4 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.3043, allocations: 70.2 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3044, allocations: 342.8 kB / 440.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3046, allocations: 101 kB / 440.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.3048, allocations: 160.8 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.3052, allocations: 282.2 kB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3052, allocations: 0 / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005401/0.3058, allocations: 377.9 kB / 441.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3058, allocations: 4 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3058, allocations: 4 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3058, allocations: 0 / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.3062, allocations: 108 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3062, allocations: 0 / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3063, allocations: 12 kB / 441.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3063, allocations: 12 kB / 441.2 MB, free: 12.58 MB / 350.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.0001618/0.3065, allocations: 153.7 kB / 441.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.3066, allocations: 35.75 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.3067, allocations: 37.95 kB / 441.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3067, allocations: 4 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3067, allocations: 0 / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3067, allocations: 4 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.308, allocations: 0.9117 MB / 442.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.308, allocations: 0 / 442.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.3085, allocations: 91.89 kB / 442.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3085, allocations: 11.88 kB / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.3085, allocations: 16.06 kB / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3085, allocations: 4 kB / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3085, allocations: 0 / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.3093, allocations: 0.6344 MB / 443.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.3094, allocations: 31.78 kB / 443.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.3094, allocations: 12 kB / 443.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3096, allocations: 15.94 kB / 443.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3096, allocations: 27.89 kB / 443.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3096, allocations: 12 kB / 443.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.3097, allocations: 139.2 kB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3097, allocations: 0 / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.3101, allocations: 80 kB / 443.4 MB, free: 10.29 MB / 350.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.001102/0.3112, allocations: 1.196 MB / 444.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.3117, allocations: 283.6 kB / 444.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3117, allocations: 4.125 kB / 444.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.3119, allocations: 149.9 kB / 445 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.3124, allocations: 68.14 kB / 445.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.3165, allocations: 3.282 MB / 448.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.317, allocations: 0.7726 MB / 449.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3171, allocations: 34.95 kB / 449.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3172, allocations: 95.41 kB / 449.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3172, allocations: 0 / 449.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.355, allocations: 6.509 MB / 455.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.56, allocations: 6.844 kB / 455.8 MB, free: 13.88 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.150663008913398]