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.001207/0.001207, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001379/0.001379, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.424/1.424, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.001646/0.001646, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.1002, allocations: 53.33 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003921/0.1041, allocations: 2.504 MB / 428.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006684/0.1048, allocations: 255 kB / 429.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.105, allocations: 11.94 kB / 429.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1051, allocations: 47.58 kB / 429.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.1054, allocations: 87.19 kB / 429.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1056, allocations: 67.84 kB / 429.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.106, allocations: 314.6 kB / 429.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1062, allocations: 79.11 kB / 429.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1064, allocations: 123.5 kB / 429.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1066, allocations: 127.5 kB / 429.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.1066, allocations: 24 kB / 429.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.1067, allocations: 27.94 kB / 429.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.1067, allocations: 59.83 kB / 430 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.1069, allocations: 143.3 kB / 430.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.1073, allocations: 322.6 kB / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1073, allocations: 0 / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1073, allocations: 0 / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1073, allocations: 0 / 430.5 MB, free: 0.5977 MB / 350.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.1886/0.2959, allocations: 0.5707 MB / 431 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2959, allocations: 10.78 kB / 431 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.985e-05/0.296, allocations: 58.97 kB / 431.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.2961, allocations: 31.09 kB / 431.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.2964, allocations: 243.4 kB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.2964, allocations: 26.72 kB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.2965, allocations: 29.5 kB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.2969, allocations: 258.4 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.2969, allocations: 4.156 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.2969, allocations: 13.41 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2969, allocations: 6.406 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.2972, allocations: 177.5 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.2981, allocations: 0.7479 MB / 432.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.2985, allocations: 260.5 kB / 432.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2986, allocations: 119.7 kB / 433 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2987, allocations: 2.781 kB / 433 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2987, allocations: 36.84 kB / 433 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.2987, allocations: 1.312 kB / 433 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002256/0.3009, allocations: 1.717 MB / 434.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.301, allocations: 85.95 kB / 434.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3011, allocations: 182.3 kB / 435 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3011, allocations: 35.17 kB / 435 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.3012, allocations: 142.5 kB / 435.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.3013, allocations: 181.2 kB / 435.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3014, allocations: 82 kB / 435.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.3014, allocations: 338.1 kB / 435.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3016, allocations: 105 kB / 435.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.3018, allocations: 156.9 kB / 436 MB, free: 8.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.3021, allocations: 284 kB / 436.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3021, allocations: 4.531 kB / 436.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004695/0.3026, allocations: 370.2 kB / 436.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3026, allocations: 7.75 kB / 436.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3026, allocations: 1.312 kB / 436.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3026, allocations: 2.219 kB / 436.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.303, allocations: 98.83 kB / 436.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.303, allocations: 6.5 kB / 436.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3031, allocations: 11.06 kB / 436.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3031, allocations: 14.97 kB / 436.8 MB, free: 8.023 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.0001128/0.3032, allocations: 157.8 kB / 437 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.3033, allocations: 26.17 kB / 437 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.3034, allocations: 37.91 kB / 437 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3034, allocations: 5.438 kB / 437 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3034, allocations: 1.406 kB / 437 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3034, allocations: 4.828 kB / 437 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3045, allocations: 0.951 MB / 438 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3045, allocations: 1.094 kB / 438 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.3049, allocations: 98.44 kB / 438.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3049, allocations: 7.156 kB / 438.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3049, allocations: 11.56 kB / 438.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3049, allocations: 3.953 kB / 438.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3049, allocations: 1.219 kB / 438.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.3056, allocations: 0.6405 MB / 438.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.3057, allocations: 106.5 kB / 438.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3057, allocations: 13.5 kB / 438.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3059, allocations: 10.16 kB / 438.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.306, allocations: 32.12 kB / 438.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.306, allocations: 14.36 kB / 438.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.054e-05/0.3061, allocations: 132.9 kB / 439.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3061, allocations: 1.156 kB / 439.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.3065, allocations: 77.12 kB / 439.1 MB, free: 6.562 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.0008705/0.3073, allocations: 1.193 MB / 440.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.3078, allocations: 274.4 kB / 440.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3078, allocations: 1.188 kB / 440.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.308, allocations: 149.2 kB / 440.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.3086, allocations: 65.84 kB / 440.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.312, allocations: 3.3 MB / 444.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.3122, allocations: 0.7754 MB / 444.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.3124, allocations: 33.56 kB / 444.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3125, allocations: 99.67 kB / 445 MB, free: 2.398 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3125, allocations: 0 / 445 MB, free: 2.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/0.3653, allocations: 6.153 MB / 451.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.717, allocations: 13.3 kB / 451.2 MB, free: 1.699 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.210351476911455]