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.001448/0.001448, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001357/0.001357, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.365/1.365, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001459/0.001459, allocations: 43.92 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2264, allocations: 53.37 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003643/0.2301, allocations: 2.52 MB / 434.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005429/0.2306, allocations: 255.1 kB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.2308, allocations: 7.938 kB / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.231, allocations: 43.58 kB / 434.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.2312, allocations: 95.14 kB / 434.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.2314, allocations: 63.91 kB / 434.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.2318, allocations: 318.5 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.2321, allocations: 75.58 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2322, allocations: 119.6 kB / 435.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.2324, allocations: 135.4 kB / 435.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.2325, allocations: 24 kB / 435.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.2325, allocations: 24 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.2326, allocations: 55.78 kB / 435.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.2327, allocations: 143.3 kB / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.2331, allocations: 323.5 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2331, allocations: 0 / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.2331, allocations: 4 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2332, allocations: 0 / 436.1 MB, free: 2.676 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.0008257/0.234, allocations: 0.4976 MB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.234, allocations: 12.03 kB / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.234, allocations: 4.844 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.2341, allocations: 62.72 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.2342, allocations: 32.75 kB / 436.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2345, allocations: 194.8 kB / 436.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2345, allocations: 17.03 kB / 436.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.2346, allocations: 28.38 kB / 436.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.235, allocations: 268.1 kB / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.235, allocations: 0 / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.235, allocations: 12 kB / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.235, allocations: 4 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.2353, allocations: 179.8 kB / 437.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2364, allocations: 0.7064 MB / 438.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.2368, allocations: 263.9 kB / 438.3 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.237, allocations: 121.7 kB / 438.5 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.237, allocations: 7.938 kB / 438.5 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.237, allocations: 38.56 kB / 438.5 MB, free: 100 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.854e-06/0.237, allocations: 0 / 438.5 MB, free: 100 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002643/0.2397, allocations: 1.429 MB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.2397, allocations: 81.11 kB / 440 MB, free: 14.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2399, allocations: 192.1 kB / 440.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.24, allocations: 29.7 kB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2401, allocations: 144.8 kB / 440.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.2402, allocations: 186.4 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2403, allocations: 74.2 kB / 440.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.2405, allocations: 342.8 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.2407, allocations: 100.9 kB / 441.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.2409, allocations: 160.8 kB / 441.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.2413, allocations: 282.2 kB / 441.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2413, allocations: 0 / 441.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000532/0.2418, allocations: 374 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2419, allocations: 4 kB / 441.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2419, allocations: 3.984 kB / 441.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.2419, allocations: 4 kB / 441.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.2423, allocations: 103.8 kB / 442 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2423, allocations: 8.062 kB / 442 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2424, allocations: 8 kB / 442 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.2424, allocations: 12 kB / 442 MB, free: 12.43 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.0001511/0.2426, allocations: 153.7 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.2426, allocations: 27.81 kB / 442.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.719e-05/0.2427, allocations: 45.95 kB / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2427, allocations: 4 kB / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2427, allocations: 0 / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2427, allocations: 0 / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.2441, allocations: 0.9117 MB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2441, allocations: 3.938 kB / 443.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.2445, allocations: 95.89 kB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.2445, allocations: 7.938 kB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.2445, allocations: 12 kB / 443.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2445, allocations: 4.062 kB / 443.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2445, allocations: 4 kB / 443.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007994/0.2453, allocations: 0.6394 MB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.2453, allocations: 27.78 kB / 443.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.2454, allocations: 12 kB / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.2456, allocations: 12 kB / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.2456, allocations: 23.95 kB / 444 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2456, allocations: 20 kB / 444 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2457, allocations: 139.2 kB / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2457, allocations: 0 / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.2461, allocations: 76 kB / 444.2 MB, free: 10.13 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.001143/0.2473, allocations: 1.203 MB / 445.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004812/0.2477, allocations: 283.6 kB / 445.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2477, allocations: 0 / 445.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.248, allocations: 147.8 kB / 445.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/0.2485, allocations: 61.72 kB / 445.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.2526, allocations: 3.288 MB / 449.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.2531, allocations: 0.7726 MB / 449.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.2532, allocations: 34.95 kB / 450 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.2534, allocations: 99.41 kB / 450.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2534, allocations: 0 / 450.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.2833, allocations: 6.538 MB / 456.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.14, allocations: 4.062 kB / 456.6 MB, free: 13.7 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.685158720996697]