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.001508/0.001508, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00167/0.00167, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001463/0.001463, allocations: 43.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2395, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003504/0.2431, allocations: 2.316 MB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005211/0.2436, allocations: 267 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2437, allocations: 7.938 kB / 433.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2438, allocations: 39.58 kB / 433.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.244, allocations: 95.19 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.2442, allocations: 71.84 kB / 433.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.2445, allocations: 310.6 kB / 434.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2447, allocations: 77.27 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.2448, allocations: 123.5 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.245, allocations: 135.4 kB / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.245, allocations: 24 kB / 434.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.2451, allocations: 32 kB / 434.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.2451, allocations: 51.84 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.2453, allocations: 119.5 kB / 434.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.2456, allocations: 322.6 kB / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2456, allocations: 0 / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2456, allocations: 0 / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2456, allocations: 0 / 435 MB, free: 2.656 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.000799/0.2464, allocations: 0.5015 MB / 435.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2465, allocations: 8.031 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.707e-05/0.2465, allocations: 62.72 kB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.2466, allocations: 32.75 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.2469, allocations: 194.8 kB / 435.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2469, allocations: 17.03 kB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.247, allocations: 32.36 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.2474, allocations: 256.4 kB / 436.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.2474, allocations: 7.938 kB / 436.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.2475, allocations: 12 kB / 436.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2475, allocations: 8 kB / 436.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.2478, allocations: 171.8 kB / 436.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/0.2488, allocations: 0.6596 MB / 437 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.2492, allocations: 265.2 kB / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.2493, allocations: 113.7 kB / 437.3 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2494, allocations: 4 kB / 437.3 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2494, allocations: 42.55 kB / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/0.2494, allocations: 0 / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002606/0.252, allocations: 1.415 MB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.2521, allocations: 81.11 kB / 438.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.2523, allocations: 196 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.2523, allocations: 37.69 kB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.2524, allocations: 136.9 kB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.2526, allocations: 182.4 kB / 439.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2527, allocations: 74.19 kB / 439.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2528, allocations: 338.8 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.253, allocations: 101 kB / 439.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.2532, allocations: 160.8 kB / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.2536, allocations: 286.1 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2536, allocations: 0 / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005341/0.2542, allocations: 373.9 kB / 440.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2542, allocations: 4 kB / 440.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2542, allocations: 4 kB / 440.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2542, allocations: 0 / 440.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.2546, allocations: 103.9 kB / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2546, allocations: 0 / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.2547, allocations: 16.06 kB / 440.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.2548, allocations: 16 kB / 440.9 MB, free: 12.46 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.0001554/0.2549, allocations: 153.7 kB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.255, allocations: 35.75 kB / 441 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.161e-05/0.2551, allocations: 37.95 kB / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2551, allocations: 4 kB / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2551, allocations: 0 / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2551, allocations: 7.984 kB / 441.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.2564, allocations: 0.8724 MB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2564, allocations: 0 / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.2568, allocations: 95.83 kB / 442.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.2568, allocations: 7.938 kB / 442.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.2569, allocations: 15.94 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2569, allocations: 4 kB / 442.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2569, allocations: 3.984 kB / 442.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/0.2577, allocations: 0.6395 MB / 442.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.2577, allocations: 23.8 kB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.2577, allocations: 12.06 kB / 442.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.2579, allocations: 19.94 kB / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.258, allocations: 23.94 kB / 442.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.258, allocations: 16 kB / 442.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.2581, allocations: 135.3 kB / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2581, allocations: 0 / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.2585, allocations: 76 kB / 443 MB, free: 10.21 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.001108/0.2596, allocations: 1.203 MB / 444.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004696/0.26, allocations: 283.6 kB / 444.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2601, allocations: 4 kB / 444.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.2603, allocations: 147.6 kB / 444.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.2608, allocations: 72.16 kB / 444.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.2648, allocations: 3.276 MB / 448 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.265, allocations: 168.8 kB / 448.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.2652, allocations: 34.95 kB / 448.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2653, allocations: 95.41 kB / 448.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2653, allocations: 0 / 448.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.3005, allocations: 6.964 MB / 455.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.81, allocations: 4 kB / 455.3 MB, free: 13.98 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.205077487014933]