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.004868/0.004868, allocations: 100.5 kB / 21.96 MB, free: 5.211 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.001333/0.001333, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.331/1.331, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",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.00165/0.00165, allocations: 58.58 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2398, allocations: 49.15 MB / 397.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002839/0.2427, allocations: 2.279 MB / 399.4 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004036/0.2431, allocations: 255.5 kB / 399.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2432, allocations: 8.062 kB / 399.7 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2433, allocations: 46.77 kB / 399.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.2435, allocations: 89.73 kB / 399.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.2436, allocations: 67.28 kB / 399.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.2439, allocations: 322.7 kB / 400.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.244, allocations: 74.95 kB / 400.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2441, allocations: 125.2 kB / 400.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2443, allocations: 131.3 kB / 400.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.2443, allocations: 29.41 kB / 400.5 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.89e-05/0.2444, allocations: 23.97 kB / 400.5 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.2444, allocations: 58.09 kB / 400.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2445, allocations: 115.1 kB / 400.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.2448, allocations: 324.5 kB / 401 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2449, allocations: 0 / 401 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2449, allocations: 3.938 kB / 401 MB, free: 6.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2449, allocations: 0 / 401 MB, free: 6.477 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.000627/0.2455, allocations: 0.4976 MB / 401.5 MB, free: 6.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2455, allocations: 17.52 kB / 401.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.2455, allocations: 8.344 kB / 401.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.2456, allocations: 64.73 kB / 401.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.2456, allocations: 33.44 kB / 401.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.2459, allocations: 190.2 kB / 401.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2459, allocations: 20.59 kB / 401.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.2459, allocations: 32.41 kB / 401.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.2463, allocations: 256.2 kB / 402.1 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2463, allocations: 6.094 kB / 402.1 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2463, allocations: 10.84 kB / 402.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2463, allocations: 6.812 kB / 402.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.2466, allocations: 176.6 kB / 402.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.2474, allocations: 0.6582 MB / 403 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.2477, allocations: 264.2 kB / 403.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.2478, allocations: 118.6 kB / 403.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2479, allocations: 4.562 kB / 403.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.2479, allocations: 37.58 kB / 403.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.362e-06/0.2479, allocations: 1.094 kB / 403.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002097/0.25, allocations: 1.415 MB / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.25, allocations: 82.08 kB / 404.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2501, allocations: 191.9 kB / 405.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.2501, allocations: 31.33 kB / 405.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.2502, allocations: 145.7 kB / 405.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.2503, allocations: 181.3 kB / 405.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.2504, allocations: 75.23 kB / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.2504, allocations: 343.2 kB / 405.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2506, allocations: 102.8 kB / 405.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.2508, allocations: 154.7 kB / 406.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.2511, allocations: 286.3 kB / 406.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2511, allocations: 1.375 kB / 406.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004394/0.2515, allocations: 371.8 kB / 406.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2515, allocations: 6.094 kB / 406.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2515, allocations: 1.5 kB / 406.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2516, allocations: 10.72 kB / 406.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.2519, allocations: 100.2 kB / 406.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2519, allocations: 5.609 kB / 406.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.252, allocations: 14.75 kB / 406.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2521, allocations: 15 kB / 406.9 MB, free: 2.594 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.0001037/0.2522, allocations: 155.4 kB / 407 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.2522, allocations: 30.94 kB / 407.1 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.2523, allocations: 44.98 kB / 407.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2523, allocations: 5.5 kB / 407.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.2523, allocations: 0 / 407.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2523, allocations: 8.375 kB / 407.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009797/0.2533, allocations: 0.8615 MB / 408 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2533, allocations: 2.125 kB / 408 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.2537, allocations: 95.61 kB / 408.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2537, allocations: 6.641 kB / 408.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2537, allocations: 12.83 kB / 408.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2537, allocations: 6.156 kB / 408.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2537, allocations: 1.25 kB / 408.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.2543, allocations: 0.6406 MB / 408.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.2544, allocations: 29.94 kB / 408.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.2544, allocations: 12.11 kB / 408.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2546, allocations: 6.5 kB / 408.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2546, allocations: 33.56 kB / 408.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2546, allocations: 13 kB / 408.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.732e-05/0.2547, allocations: 132.4 kB / 409 MB, free: 1.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2547, allocations: 0 / 409 MB, free: 1.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.2551, allocations: 77.34 kB / 409.1 MB, free: 1.246 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.0007597/0.2559, allocations: 1.192 MB / 410.2 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.2563, allocations: 275.1 kB / 410.5 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2563, allocations: 0 / 410.5 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.2564, allocations: 146.5 kB / 410.7 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.257, allocations: 76 kB / 410.7 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.2609, allocations: 3.294 MB / 414 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.261, allocations: 169 kB / 414.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.2612, allocations: 30.41 kB / 414.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.2613, allocations: 99.22 kB / 414.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2613, allocations: 0 / 414.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.2913, allocations: 6.612 MB / 420.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.05, allocations: 6.719 kB / 420.9 MB, free: 10.53 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.499530020984821]