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.001537/0.001537, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001693/0.001693, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.38/1.38, allocations: 230.6 MB / 258.3 MB, free: 7.805 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 43.92 kB / 378.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 53.37 MB / 431.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003556/0.2377, allocations: 2.323 MB / 434.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000487/0.2382, allocations: 251.1 kB / 434.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2383, allocations: 7.938 kB / 434.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.2385, allocations: 43.58 kB / 434.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.2386, allocations: 99.06 kB / 434.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.2388, allocations: 63.92 kB / 434.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.2391, allocations: 318.6 kB / 434.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.2393, allocations: 73.69 kB / 435 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2395, allocations: 127.5 kB / 435.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.2396, allocations: 127.5 kB / 435.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.2397, allocations: 24 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.2397, allocations: 24 kB / 435.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.2398, allocations: 67.7 kB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2399, allocations: 119.5 kB / 435.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.2403, allocations: 318.6 kB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2403, allocations: 4 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2403, allocations: 0 / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2403, allocations: 0 / 435.8 MB, free: 2.695 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.000786/0.2411, allocations: 0.5004 MB / 436.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2411, allocations: 8.031 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.854e-05/0.2411, allocations: 12.84 kB / 436.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.065e-05/0.2412, allocations: 62.73 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.2412, allocations: 32.75 kB / 436.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.2415, allocations: 198.8 kB / 436.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2416, allocations: 17.03 kB / 436.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.2416, allocations: 28.38 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.242, allocations: 260.1 kB / 436.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2421, allocations: 3.984 kB / 436.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.2421, allocations: 12 kB / 436.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2421, allocations: 8 kB / 436.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.2424, allocations: 179.8 kB / 437.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.2434, allocations: 0.6518 MB / 437.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.2438, allocations: 261.2 kB / 438 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.244, allocations: 121.7 kB / 438.1 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.244, allocations: 4 kB / 438.1 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.244, allocations: 30.56 kB / 438.2 MB, free: 180 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.244, allocations: 11.94 kB / 438.2 MB, free: 168 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002544/0.2466, allocations: 1.418 MB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.2466, allocations: 85.11 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2468, allocations: 188.1 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.2468, allocations: 37.7 kB / 439.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.2469, allocations: 136.8 kB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.2471, allocations: 186.4 kB / 440.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2472, allocations: 74.2 kB / 440.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2473, allocations: 334.8 kB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.2475, allocations: 105 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.2477, allocations: 156.8 kB / 440.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.2481, allocations: 286.1 kB / 441.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2481, allocations: 4 kB / 441.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005323/0.2487, allocations: 374 kB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2487, allocations: 4 kB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2487, allocations: 0 / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2487, allocations: 7.938 kB / 441.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.2491, allocations: 99.89 kB / 441.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2491, allocations: 7.938 kB / 441.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2492, allocations: 12 kB / 441.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2492, allocations: 8 kB / 441.7 MB, free: 12.5 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.000157/0.2494, allocations: 161.8 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.2495, allocations: 31.81 kB / 441.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/0.2495, allocations: 41.94 kB / 441.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2496, allocations: 4 kB / 441.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2496, allocations: 0 / 441.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2496, allocations: 0 / 441.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.2508, allocations: 0.8724 MB / 442.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2508, allocations: 0 / 442.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.2513, allocations: 103.9 kB / 442.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.2513, allocations: 7.938 kB / 442.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.2513, allocations: 12 kB / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2513, allocations: 0 / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2513, allocations: 7.984 kB / 442.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007656/0.2521, allocations: 0.6433 MB / 443.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.2521, allocations: 23.8 kB / 443.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.2521, allocations: 12 kB / 443.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2523, allocations: 4 kB / 443.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.2524, allocations: 31.94 kB / 443.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.2524, allocations: 16 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2525, allocations: 143.2 kB / 443.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2525, allocations: 0 / 443.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.2528, allocations: 76 kB / 443.8 MB, free: 10.24 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.001048/0.2539, allocations: 1.191 MB / 445 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.2544, allocations: 283.6 kB / 445.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2544, allocations: 0 / 445.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.2546, allocations: 151.8 kB / 445.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.2552, allocations: 70.89 kB / 445.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.259, allocations: 3.284 MB / 448.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.2592, allocations: 168.8 kB / 449 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.2594, allocations: 34.95 kB / 449 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.2595, allocations: 99.39 kB / 449.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of SimCode: time 1.011e-06/0.2595, allocations: 0 / 449.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.2885, allocations: 6.604 MB / 455.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.12, allocations: 11.34 kB / 455.7 MB, free: 14.38 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.632060488918796]