Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.002168/0.002168, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002037/0.002037, allocations: 215 kB / 24.47 MB, free: 3.777 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.363/1.363, allocations: 207.7 MB / 235.3 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.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",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.001727/0.001727, allocations: 52.39 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2505, allocations: 49.16 MB / 396.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002902/0.2534, allocations: 2.234 MB / 398.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004226/0.2538, allocations: 240.8 kB / 398.8 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2539, allocations: 9.344 kB / 398.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2541, allocations: 47.81 kB / 398.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.2542, allocations: 82.64 kB / 398.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.2544, allocations: 59.03 kB / 399 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.2546, allocations: 289 kB / 399.3 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2547, allocations: 62.95 kB / 399.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2549, allocations: 118.1 kB / 399.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.255, allocations: 111.2 kB / 399.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.255, allocations: 22.25 kB / 399.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.712e-05/0.2551, allocations: 22 kB / 399.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.2551, allocations: 47.06 kB / 399.7 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.2552, allocations: 113.7 kB / 399.8 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.2555, allocations: 293.1 kB / 400.1 MB, free: 6.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2555, allocations: 1.25 kB / 400.1 MB, free: 6.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2555, allocations: 0 / 400.1 MB, free: 6.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2555, allocations: 0 / 400.1 MB, free: 6.781 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006085/0.2561, allocations: 487 kB / 400.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2562, allocations: 14.64 kB / 400.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.2562, allocations: 59.06 kB / 400.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.2563, allocations: 32.03 kB / 400.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.2565, allocations: 186.9 kB / 400.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.2565, allocations: 22.47 kB / 400.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.2566, allocations: 29.84 kB / 400.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.257, allocations: 239.2 kB / 401.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.257, allocations: 13.88 kB / 401.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.257, allocations: 6.312 kB / 401.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.257, allocations: 6.688 kB / 401.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.2573, allocations: 159.8 kB / 401.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.2581, allocations: 0.7046 MB / 402 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.2586, allocations: 282.5 kB / 402.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.2588, allocations: 129.2 kB / 402.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.2588, allocations: 4.375 kB / 402.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.2589, allocations: 42.89 kB / 402.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.2589, allocations: 0 / 402.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002183/0.261, allocations: 1.507 MB / 403.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2611, allocations: 108.3 kB / 404.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2612, allocations: 203.1 kB / 404.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2613, allocations: 31.39 kB / 404.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.2613, allocations: 142.4 kB / 404.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2614, allocations: 170.8 kB / 404.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.2615, allocations: 72.64 kB / 404.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.2616, allocations: 342.2 kB / 405 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2617, allocations: 91.22 kB / 405.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.2619, allocations: 157.6 kB / 405.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.2622, allocations: 270 kB / 405.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2622, allocations: 1.094 kB / 405.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004363/0.2627, allocations: 350 kB / 405.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2627, allocations: 9.438 kB / 405.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2627, allocations: 2.75 kB / 405.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2627, allocations: 2.75 kB / 405.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.263, allocations: 91.97 kB / 405.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.263, allocations: 7.594 kB / 406 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.2632, allocations: 14.45 kB / 406 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2632, allocations: 15.25 kB / 406 MB, free: 2.582 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001076/0.2633, allocations: 146.6 kB / 406.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.2634, allocations: 30.8 kB / 406.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.2634, allocations: 36.22 kB / 406.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2634, allocations: 6.531 kB / 406.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.2634, allocations: 0 / 406.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2635, allocations: 2.734 kB / 406.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2646, allocations: 0.9907 MB / 407.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2646, allocations: 2.312 kB / 407.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.265, allocations: 92.95 kB / 407.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.265, allocations: 4.766 kB / 407.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.265, allocations: 9.5 kB / 407.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.265, allocations: 14.11 kB / 407.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.265, allocations: 3.047 kB / 407.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.2656, allocations: 0.7263 MB / 408 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.2657, allocations: 26.7 kB / 408.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.2657, allocations: 11.09 kB / 408.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2659, allocations: 16.12 kB / 408.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.266, allocations: 39.36 kB / 408.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.266, allocations: 15.05 kB / 408.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.933e-05/0.2661, allocations: 139.2 kB / 408.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2661, allocations: 4 kB / 408.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.2665, allocations: 72.53 kB / 408.4 MB, free: 0.9688 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0008331/0.2673, allocations: 1.27 MB / 409.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.2677, allocations: 261 kB / 409.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2677, allocations: 0 / 409.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.2679, allocations: 133.5 kB / 410 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.2686, allocations: 74.22 kB / 410.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.2728, allocations: 3.285 MB / 413.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.273, allocations: 162.5 kB / 413.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.2731, allocations: 35.22 kB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.2733, allocations: 88.89 kB / 413.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2733, allocations: 3.656 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06708/0.3404, allocations: 6.659 MB / 420.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.69, allocations: 13.12 kB / 420.3 MB, free: 9.812 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.22613784018904]