Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001509/0.001509, allocations: 107.6 kB / 21.18 MB, free: 0.5781 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.002092/0.002092, allocations: 216 kB / 24.48 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 51.92 kB / 347.2 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2352, allocations: 49.15 MB / 396.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003213/0.2384, allocations: 2.289 MB / 398.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006295/0.239, allocations: 253.3 kB / 398.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.2392, allocations: 7.781 kB / 398.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2394, allocations: 49.05 kB / 398.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2396, allocations: 91.09 kB / 399 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.2399, allocations: 58.36 kB / 399.1 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.2402, allocations: 332.1 kB / 399.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2404, allocations: 70.45 kB / 399.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.2405, allocations: 124.3 kB / 399.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.2407, allocations: 112 kB / 399.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.2407, allocations: 24.97 kB / 399.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.834e-05/0.2408, allocations: 24.12 kB / 399.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.2408, allocations: 58.59 kB / 399.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.241, allocations: 123.1 kB / 399.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.2413, allocations: 318.6 kB / 400.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2413, allocations: 5.312 kB / 400.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2413, allocations: 4 kB / 400.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2413, allocations: 0 / 400.2 MB, free: 6.453 MB / 318.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.0007642/0.2421, allocations: 0.49 MB / 400.7 MB, free: 6.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2421, allocations: 13.92 kB / 400.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.2422, allocations: 60.66 kB / 400.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.2422, allocations: 36.94 kB / 400.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.2425, allocations: 190.4 kB / 401 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2426, allocations: 19.34 kB / 401 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.2426, allocations: 26.36 kB / 401.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.243, allocations: 255.8 kB / 401.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.243, allocations: 13.81 kB / 401.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.243, allocations: 10.47 kB / 401.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.243, allocations: 7.344 kB / 401.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.2433, allocations: 166.1 kB / 401.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000907/0.2442, allocations: 0.6622 MB / 402.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.2446, allocations: 266.8 kB / 402.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2448, allocations: 112.2 kB / 402.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.2448, allocations: 4.094 kB / 402.6 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2448, allocations: 37.61 kB / 402.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.2448, allocations: 5 kB / 402.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002309/0.2471, allocations: 1.417 MB / 404 MB, free: 3.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.2472, allocations: 82.77 kB / 404.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.2473, allocations: 187.5 kB / 404.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2473, allocations: 36.58 kB / 404.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.2474, allocations: 153 kB / 404.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.2475, allocations: 182.7 kB / 404.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.2476, allocations: 74.73 kB / 404.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.2476, allocations: 338.7 kB / 405 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.2478, allocations: 106.1 kB / 405.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.248, allocations: 155.3 kB / 405.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.2484, allocations: 283.8 kB / 405.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.2484, allocations: 0 / 405.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005011/0.2489, allocations: 375.2 kB / 405.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2489, allocations: 6.938 kB / 405.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2489, allocations: 1.375 kB / 405.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2489, allocations: 4.125 kB / 406 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.2493, allocations: 103 kB / 406.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2493, allocations: 8.109 kB / 406.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2494, allocations: 10.75 kB / 406.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.2495, allocations: 13.62 kB / 406.1 MB, free: 2.582 MB / 318.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.000116/0.2496, allocations: 150.7 kB / 406.2 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.2496, allocations: 34.88 kB / 406.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.2497, allocations: 45.02 kB / 406.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2497, allocations: 5.5 kB / 406.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.2497, allocations: 1.375 kB / 406.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2497, allocations: 6.891 kB / 406.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.2509, allocations: 0.8622 MB / 407.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2509, allocations: 1.406 kB / 407.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.2513, allocations: 95.91 kB / 407.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.2513, allocations: 5.906 kB / 407.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.2513, allocations: 12.86 kB / 407.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/0.2513, allocations: 3.344 kB / 407.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2513, allocations: 5.312 kB / 407.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.252, allocations: 0.6398 MB / 407.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.252, allocations: 33.42 kB / 408 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.2521, allocations: 8.719 kB / 408 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.2522, allocations: 10.84 kB / 408 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2523, allocations: 33.41 kB / 408 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2523, allocations: 8.75 kB / 408 MB, free: 1.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.166e-05/0.2524, allocations: 132.6 kB / 408.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2524, allocations: 7.938 kB / 408.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.2528, allocations: 82.19 kB / 408.3 MB, free: 1.223 MB / 318.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.0008169/0.2536, allocations: 1.192 MB / 409.4 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.254, allocations: 273.8 kB / 409.7 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.254, allocations: 0 / 409.7 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.2542, allocations: 147.2 kB / 409.9 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.2548, allocations: 62.86 kB / 409.9 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.2591, allocations: 3.293 MB / 413.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.2592, allocations: 168.8 kB / 413.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.2594, allocations: 35.27 kB / 413.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.2596, allocations: 95.23 kB / 413.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2596, allocations: 0 / 413.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.2969, allocations: 6.851 MB / 420.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.1, allocations: 5.094 kB / 420.4 MB, free: 10.2 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.657990925014019]