Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007303/0.0007303, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007861/0.0007861, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8423/0.8423, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.545e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002173/0.002189, allocations: 2.277 MB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004605/0.002649, allocations: 239.1 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.002741, allocations: 7.938 kB / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.002851, allocations: 43.58 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.002963, allocations: 87.2 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.003347, allocations: 59.84 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.003559, allocations: 306.4 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.003704, allocations: 66.05 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.003847, allocations: 171.6 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.003945, allocations: 83.77 kB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.003976, allocations: 24 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.066e-05/0.003997, allocations: 20 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.004029, allocations: 55.75 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.00409, allocations: 91.83 kB / 328.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.004313, allocations: 302.9 kB / 328.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004316, allocations: 0 / 328.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.004317, allocations: 4 kB / 328.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.004322, allocations: 0 / 328.4 MB, free: 12.13 MB / 298.7 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.000486/0.004808, allocations: 480.5 kB / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.004844, allocations: 12.03 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.004885, allocations: 58.73 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.004923, allocations: 28.75 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.005149, allocations: 194 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.005165, allocations: 16.88 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.005196, allocations: 24.38 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.005453, allocations: 243.2 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.005466, allocations: 4.125 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.005482, allocations: 12.38 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005488, allocations: 8.125 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.005667, allocations: 158.3 kB / 329.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.006333, allocations: 0.7144 MB / 330.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.006672, allocations: 283.6 kB / 330.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.006828, allocations: 126.5 kB / 330.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.006842, allocations: 4.219 kB / 330.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.006861, allocations: 42.5 kB / 330.7 MB, free: 9.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.325e-06/0.006863, allocations: 3.938 kB / 330.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001494/0.008357, allocations: 1.498 MB / 332.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.008401, allocations: 110.8 kB / 332.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.008528, allocations: 191 kB / 332.5 MB, free: 7.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.008544, allocations: 33.7 kB / 332.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.008612, allocations: 144.8 kB / 332.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.008689, allocations: 162.6 kB / 332.9 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.008759, allocations: 82.08 kB / 332.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.008845, allocations: 342.8 kB / 333.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.008945, allocations: 88.97 kB / 333.4 MB, free: 6.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.009072, allocations: 155 kB / 333.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.009324, allocations: 276.4 kB / 333.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009326, allocations: 4.875 kB / 333.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003303/0.009657, allocations: 353.2 kB / 334.1 MB, free: 5.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.00967, allocations: 6.344 kB / 334.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009675, allocations: 8.094 kB / 334.1 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.009688, allocations: 7.938 kB / 334.2 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.01012, allocations: 83.91 kB / 334.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01013, allocations: 7.938 kB / 334.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.01019, allocations: 15.98 kB / 334.3 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.0102, allocations: 16 kB / 334.3 MB, free: 5.781 MB / 298.7 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.157e-05/0.01029, allocations: 145.8 kB / 334.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.01034, allocations: 31.8 kB / 334.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.01038, allocations: 33.81 kB / 334.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.01038, allocations: 11.92 kB / 334.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.01039, allocations: 8 kB / 334.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0104, allocations: 0 / 334.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.01124, allocations: 0.9794 MB / 335.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.01124, allocations: 4 kB / 335.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.01144, allocations: 92.19 kB / 335.6 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.01144, allocations: 7.984 kB / 335.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01146, allocations: 12 kB / 335.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.01146, allocations: 11.88 kB / 335.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01147, allocations: 4 kB / 335.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.01196, allocations: 0.718 MB / 336.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.01199, allocations: 35.86 kB / 336.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.01201, allocations: 11.94 kB / 336.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.01212, allocations: 8 kB / 336.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.01215, allocations: 47.88 kB / 336.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.01216, allocations: 8 kB / 336.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.762e-05/0.01223, allocations: 136.2 kB / 336.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01223, allocations: 0 / 336.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.0125, allocations: 76 kB / 336.6 MB, free: 3.273 MB / 298.7 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.0006396/0.01314, allocations: 1.259 MB / 337.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.01344, allocations: 264.4 kB / 338.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01344, allocations: 0 / 338.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01356, allocations: 131.8 kB / 338.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.01399, allocations: 63 kB / 338.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.01663, allocations: 3.168 MB / 341.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01674, allocations: 167.7 kB / 341.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.514e-05/0.01683, allocations: 30.95 kB / 341.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.01693, allocations: 88.48 kB / 341.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01693, allocations: 0 / 341.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.03606, allocations: 6.817 MB / 348.6 MB, free: 7.199 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/6.563, allocations: 9.125 kB / 348.6 MB, free: 7.195 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.118104805238545]