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.001242/0.001242, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001313/0.001313, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.401/1.401, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09899, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003572/0.1026, allocations: 2.453 MB / 429.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004919/0.1031, allocations: 235.1 kB / 429.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1032, allocations: 7.938 kB / 429.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1033, allocations: 43.58 kB / 429.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1035, allocations: 79.27 kB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.1036, allocations: 71.84 kB / 429.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.104, allocations: 290.6 kB / 430.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1041, allocations: 61.72 kB / 430.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1043, allocations: 115.6 kB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1044, allocations: 123.5 kB / 430.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1045, allocations: 24 kB / 430.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.1045, allocations: 20 kB / 430.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.1045, allocations: 47.84 kB / 430.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1047, allocations: 131.3 kB / 430.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.105, allocations: 298.7 kB / 431 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.105, allocations: 4 kB / 431 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.105, allocations: 0 / 431 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.105, allocations: 0 / 431 MB, free: 0.7969 MB / 350.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.0008069/0.1058, allocations: 0.5495 MB / 431.5 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1059, allocations: 8.031 kB / 431.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.796e-05/0.1059, allocations: 12.75 kB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.1059, allocations: 54.73 kB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.106, allocations: 28.75 kB / 431.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1063, allocations: 248.6 kB / 431.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1064, allocations: 20.94 kB / 431.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.1064, allocations: 28.36 kB / 431.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.1068, allocations: 247.7 kB / 432.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1068, allocations: 3.984 kB / 432.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1069, allocations: 12 kB / 432.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1069, allocations: 4 kB / 432.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.1072, allocations: 163.7 kB / 432.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1082, allocations: 0.7972 MB / 433.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.1087, allocations: 279.6 kB / 433.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.1089, allocations: 125.3 kB / 433.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1089, allocations: 8 kB / 433.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.109, allocations: 30.56 kB / 433.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.422e-06/0.109, allocations: 0 / 433.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002761/0.1117, allocations: 1.957 MB / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.1118, allocations: 118.8 kB / 435.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.112, allocations: 187.4 kB / 435.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.112, allocations: 29.7 kB / 435.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.1121, allocations: 144.9 kB / 436 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1122, allocations: 162.5 kB / 436.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1124, allocations: 78.12 kB / 436.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1125, allocations: 335 kB / 436.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1127, allocations: 88.84 kB / 436.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.1129, allocations: 170.2 kB / 436.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.1133, allocations: 274 kB / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1133, allocations: 4 kB / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000511/0.1138, allocations: 346.3 kB / 437.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1138, allocations: 4 kB / 437.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1138, allocations: 4 kB / 437.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1138, allocations: 4 kB / 437.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.1141, allocations: 91.84 kB / 437.5 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1142, allocations: 4 kB / 437.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1143, allocations: 11.98 kB / 437.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.1143, allocations: 20.09 kB / 437.6 MB, free: 9.637 MB / 366.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.0001463/0.1144, allocations: 149.8 kB / 437.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.1145, allocations: 35.75 kB / 437.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.423e-05/0.1146, allocations: 33.88 kB / 437.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1146, allocations: 7.984 kB / 437.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1146, allocations: 0 / 437.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1146, allocations: 4 kB / 437.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.116, allocations: 1.051 MB / 438.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.1161, allocations: 11.97 kB / 438.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.1164, allocations: 91.89 kB / 438.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.1164, allocations: 4 kB / 438.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1165, allocations: 8 kB / 438.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1165, allocations: 7.938 kB / 439 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1165, allocations: 4 kB / 439 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.1173, allocations: 0.729 MB / 439.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.1174, allocations: 101 kB / 439.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.1174, allocations: 12.05 kB / 439.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.1176, allocations: 12.05 kB / 439.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.1177, allocations: 39.83 kB / 439.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.1177, allocations: 16 kB / 439.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1178, allocations: 140.2 kB / 440 MB, free: 7.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1178, allocations: 4 kB / 440 MB, free: 7.031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.1182, allocations: 72 kB / 440.1 MB, free: 6.961 MB / 366.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.001175/0.1194, allocations: 1.278 MB / 441.4 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004894/0.1199, allocations: 257.6 kB / 441.6 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1199, allocations: 0 / 441.6 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1201, allocations: 135.7 kB / 441.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.1208, allocations: 70.84 kB / 441.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.1249, allocations: 3.288 MB / 445.1 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.1253, allocations: 0.7683 MB / 445.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1254, allocations: 30.95 kB / 445.9 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1256, allocations: 91.41 kB / 446 MB, free: 0.793 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1256, allocations: 4 kB / 446 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.194/0.3196, allocations: 6.006 MB / 452 MB, free: 24.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.559, allocations: 14.59 kB / 452 MB, free: 24.11 MB / 366.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/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: 10.867597154981922]