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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 108.6 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 47.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2466, allocations: 52.19 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003633/0.2503, allocations: 2.502 MB / 425.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005287/0.2508, allocations: 255.1 kB / 426.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2509, allocations: 7.938 kB / 426.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.2511, allocations: 43.56 kB / 426.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2512, allocations: 99.12 kB / 426.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.2514, allocations: 63.91 kB / 426.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.2518, allocations: 314.5 kB / 426.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.252, allocations: 79.56 kB / 426.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.2521, allocations: 123.6 kB / 426.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.2523, allocations: 143.4 kB / 427 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.2524, allocations: 24 kB / 427 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.466e-05/0.2524, allocations: 24 kB / 427.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.2525, allocations: 51.84 kB / 427.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2526, allocations: 143.3 kB / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.253, allocations: 323.5 kB / 427.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.253, allocations: 0 / 427.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.253, allocations: 4 kB / 427.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.253, allocations: 0 / 427.6 MB, free: 10.42 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.0008329/0.2539, allocations: 0.4937 MB / 428.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2539, allocations: 12.03 kB / 428.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.054e-05/0.2539, allocations: 4.844 kB / 428.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/0.254, allocations: 62.72 kB / 428.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.254, allocations: 32.75 kB / 428.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.2543, allocations: 194 kB / 428.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2544, allocations: 17.03 kB / 428.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.2544, allocations: 36.33 kB / 428.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.2548, allocations: 260.1 kB / 428.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2548, allocations: 0 / 428.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.2549, allocations: 15.94 kB / 428.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2549, allocations: 4 kB / 428.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.2552, allocations: 179.8 kB / 428.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.2562, allocations: 0.7061 MB / 429.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.2566, allocations: 264.3 kB / 429.8 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2568, allocations: 113.7 kB / 429.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2568, allocations: 4.625 kB / 429.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.2569, allocations: 38.56 kB / 430 MB, free: 7.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.2569, allocations: 0 / 430 MB, free: 7.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002579/0.2594, allocations: 1.422 MB / 431.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.2595, allocations: 89.05 kB / 431.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.2597, allocations: 183.2 kB / 431.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2597, allocations: 33.7 kB / 431.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2598, allocations: 140.9 kB / 431.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.26, allocations: 182.4 kB / 432 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.2601, allocations: 74.16 kB / 432.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2603, allocations: 338.8 kB / 432.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.2604, allocations: 105 kB / 432.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.2607, allocations: 164.8 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.2611, allocations: 287.9 kB / 433 MB, free: 4.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2611, allocations: 0 / 433 MB, free: 4.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005421/0.2616, allocations: 378 kB / 433.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2616, allocations: 4 kB / 433.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2616, allocations: 0 / 433.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2616, allocations: 4 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.262, allocations: 99.89 kB / 433.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.262, allocations: 7.938 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2621, allocations: 12 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.2622, allocations: 12 kB / 433.5 MB, free: 4.184 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.0001587/0.2623, allocations: 153.7 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.2624, allocations: 27.89 kB / 433.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/0.2625, allocations: 41.95 kB / 433.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2625, allocations: 4 kB / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2625, allocations: 0 / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2625, allocations: 0 / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.2638, allocations: 0.9223 MB / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2638, allocations: 0 / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.2642, allocations: 99.83 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.2642, allocations: 7.938 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.2642, allocations: 8 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2642, allocations: 3.938 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2642, allocations: 4 kB / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.265, allocations: 0.6394 MB / 435.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.2651, allocations: 31.75 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.2651, allocations: 15.92 kB / 435.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.2653, allocations: 12 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2653, allocations: 27.95 kB / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2653, allocations: 8 kB / 435.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.2654, allocations: 132.4 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2654, allocations: 4 kB / 435.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.2658, allocations: 76 kB / 435.7 MB, free: 1.887 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.001046/0.2668, allocations: 1.188 MB / 436.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.2673, allocations: 285.3 kB / 437.1 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2673, allocations: 0 / 437.1 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.2675, allocations: 147.8 kB / 437.3 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.2681, allocations: 71.27 kB / 437.4 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.2719, allocations: 3.287 MB / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.2723, allocations: 0.7766 MB / 441.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.2724, allocations: 34.89 kB / 441.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.2726, allocations: 99.41 kB / 441.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2726, allocations: 0 / 441.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.3008, allocations: 6.534 MB / 448.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.89, allocations: 11.75 kB / 448.1 MB, free: 5.453 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.337629363988526]