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.00551/0.00551, allocations: 100.8 kB / 21.96 MB, free: 5.199 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.001558/0.001558, allocations: 214 kB / 25.25 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.287/1.287, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",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.00168/0.00168, allocations: 51.92 kB / 348 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2392, allocations: 49.15 MB / 397.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002862/0.242, allocations: 2.234 MB / 399.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000413/0.2424, allocations: 241.3 kB / 399.6 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2425, allocations: 8.656 kB / 399.6 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.2427, allocations: 44.38 kB / 399.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.2428, allocations: 80.86 kB / 399.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.243, allocations: 56.03 kB / 399.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.2433, allocations: 292.7 kB / 400.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.2434, allocations: 79.81 kB / 400.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.2435, allocations: 109 kB / 400.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.2437, allocations: 126.1 kB / 400.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.2437, allocations: 22.53 kB / 400.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.242e-05/0.2438, allocations: 23 kB / 400.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.2438, allocations: 51.91 kB / 400.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.302e-05/0.2439, allocations: 105.5 kB / 400.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.2442, allocations: 295.2 kB / 400.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2442, allocations: 0 / 400.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2442, allocations: 0 / 400.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2442, allocations: 4 kB / 400.9 MB, free: 6.582 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.0005935/0.2448, allocations: 484.6 kB / 401.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2448, allocations: 13.05 kB / 401.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.031e-05/0.2448, allocations: 7.031 kB / 401.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.2449, allocations: 60.31 kB / 401.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.2449, allocations: 32.12 kB / 401.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2451, allocations: 195.4 kB / 401.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.2451, allocations: 22.91 kB / 401.7 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.2452, allocations: 23.78 kB / 401.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.2455, allocations: 247.6 kB / 401.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.2455, allocations: 6.234 kB / 401.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.2456, allocations: 11.19 kB / 401.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2456, allocations: 5.344 kB / 401.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.2458, allocations: 161.7 kB / 402.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.2466, allocations: 0.7098 MB / 402.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.247, allocations: 270.8 kB / 403.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2472, allocations: 120.2 kB / 403.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2472, allocations: 12.19 kB / 403.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2472, allocations: 38.92 kB / 403.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.2472, allocations: 0 / 403.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002014/0.2493, allocations: 1.515 MB / 404.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2493, allocations: 108.9 kB / 404.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2494, allocations: 194.7 kB / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2494, allocations: 31.92 kB / 405.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.2495, allocations: 145.3 kB / 405.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.2496, allocations: 166.1 kB / 405.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.2496, allocations: 76.86 kB / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.2497, allocations: 341.6 kB / 405.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2498, allocations: 91.28 kB / 405.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.25, allocations: 156.6 kB / 406 MB, free: 2.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.2503, allocations: 270.2 kB / 406.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2503, allocations: 0 / 406.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004163/0.2507, allocations: 352.5 kB / 406.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2507, allocations: 6.969 kB / 406.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2507, allocations: 5.938 kB / 406.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2507, allocations: 2.75 kB / 406.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.251, allocations: 93.69 kB / 406.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.251, allocations: 3.594 kB / 406.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2512, allocations: 12.12 kB / 406.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.2512, allocations: 15 kB / 406.8 MB, free: 2.391 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 9.683e-05/0.2513, allocations: 151.3 kB / 406.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.2513, allocations: 30.92 kB / 407 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.2514, allocations: 37.17 kB / 407 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2514, allocations: 9.5 kB / 407 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2514, allocations: 1.375 kB / 407 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2514, allocations: 3.391 kB / 407 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.2525, allocations: 0.9779 MB / 408 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2525, allocations: 7.344 kB / 408 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.2528, allocations: 96.31 kB / 408.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2528, allocations: 5.438 kB / 408.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.2528, allocations: 14.36 kB / 408.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2528, allocations: 4.328 kB / 408.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.2529, allocations: 8.25 kB / 408.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.2534, allocations: 0.7216 MB / 408.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.2534, allocations: 31.47 kB / 408.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.2535, allocations: 10.2 kB / 408.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2537, allocations: 20.91 kB / 408.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.2537, allocations: 35.14 kB / 408.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2537, allocations: 15 kB / 409 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.2538, allocations: 139 kB / 409.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2538, allocations: 96 / 409.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.2542, allocations: 76.44 kB / 409.2 MB, free: 0.7734 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.0007975/0.255, allocations: 1.265 MB / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.2554, allocations: 259.4 kB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2554, allocations: 1.281 kB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2556, allocations: 135.9 kB / 410.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.2562, allocations: 71.42 kB / 410.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.2601, allocations: 3.301 MB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.2603, allocations: 155.7 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.2604, allocations: 35.61 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2606, allocations: 91.02 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2606, allocations: 0 / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.291, allocations: 6.429 MB / 420.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.05, allocations: 11.91 kB / 420.9 MB, free: 9.973 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.239453198970295]