Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 120.1 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 218.2 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.4 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.89 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1091, allocations: 53.36 MB / 427 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003772/0.1129, allocations: 2.453 MB / 429.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004639/0.1134, allocations: 239.1 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1135, allocations: 7.938 kB / 429.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.1136, allocations: 47.58 kB / 429.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1138, allocations: 83.27 kB / 429.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.114, allocations: 51.92 kB / 429.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.1143, allocations: 294.6 kB / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1145, allocations: 69.7 kB / 430.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1146, allocations: 119.6 kB / 430.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1148, allocations: 115.5 kB / 430.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.1148, allocations: 24 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.1149, allocations: 24 kB / 430.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.1149, allocations: 51.83 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.115, allocations: 135.3 kB / 430.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.1154, allocations: 294.7 kB / 431 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1154, allocations: 0 / 431 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1154, allocations: 0 / 431 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1154, allocations: 0 / 431 MB, free: 0.7305 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.0008415/0.1162, allocations: 0.5495 MB / 431.6 MB, free: 132 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1163, allocations: 12.03 kB / 431.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.383e-05/0.1163, allocations: 4.75 kB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.1164, allocations: 58.73 kB / 431.6 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.1164, allocations: 32.75 kB / 431.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.1168, allocations: 248.6 kB / 431.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1168, allocations: 20.94 kB / 431.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.1169, allocations: 24.38 kB / 432 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.1173, allocations: 243.8 kB / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1173, allocations: 0 / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.1173, allocations: 12 kB / 432.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1173, allocations: 4 kB / 432.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.1176, allocations: 179.6 kB / 432.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1187, allocations: 0.7933 MB / 433.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.1192, allocations: 279.7 kB / 433.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.1195, allocations: 122.5 kB / 433.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1195, allocations: 4 kB / 433.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1195, allocations: 42.56 kB / 433.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.1195, allocations: 0 / 433.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002807/0.1223, allocations: 1.951 MB / 435.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.1224, allocations: 110.8 kB / 435.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1226, allocations: 186.8 kB / 435.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1227, allocations: 34.64 kB / 435.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1228, allocations: 136.9 kB / 436 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.1229, allocations: 174.5 kB / 436.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.123, allocations: 74.08 kB / 436.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1232, allocations: 338.8 kB / 436.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1233, allocations: 88.84 kB / 436.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1236, allocations: 158.3 kB / 436.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.124, allocations: 275.9 kB / 437.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.124, allocations: 3.938 kB / 437.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005145/0.1245, allocations: 353 kB / 437.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1245, allocations: 15.92 kB / 437.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1245, allocations: 4.094 kB / 437.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1245, allocations: 4 kB / 437.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.1249, allocations: 87.91 kB / 437.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1249, allocations: 3.938 kB / 437.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.125, allocations: 12 kB / 437.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.125, allocations: 16 kB / 437.6 MB, free: 9.562 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.0001553/0.1252, allocations: 149.8 kB / 437.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.1252, allocations: 35.75 kB / 437.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.1253, allocations: 37.88 kB / 437.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1253, allocations: 4 kB / 437.8 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1254, allocations: 4 kB / 437.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.1254, allocations: 3.984 kB / 437.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.1269, allocations: 1.054 MB / 438.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1269, allocations: 3.938 kB / 438.9 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/0.1272, allocations: 95.83 kB / 439 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1272, allocations: 4 kB / 439 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1273, allocations: 8.281 kB / 439 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.1273, allocations: 11.94 kB / 439 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1273, allocations: 4 kB / 439 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.1281, allocations: 0.7212 MB / 439.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.1282, allocations: 101 kB / 439.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.1282, allocations: 8 kB / 439.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.1284, allocations: 11.98 kB / 439.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.1285, allocations: 43.84 kB / 439.9 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1285, allocations: 12 kB / 439.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1286, allocations: 140.9 kB / 440 MB, free: 6.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1286, allocations: 0 / 440 MB, free: 6.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004171/0.129, allocations: 76 kB / 440.1 MB, free: 6.891 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.001147/0.1302, allocations: 1.277 MB / 441.4 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.1306, allocations: 250.4 kB / 441.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1306, allocations: 0 / 441.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.1308, allocations: 140 kB / 441.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.1315, allocations: 72.08 kB / 441.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.1356, allocations: 3.282 MB / 445.1 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.136, allocations: 0.7683 MB / 445.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.1362, allocations: 38.94 kB / 445.9 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.1363, allocations: 87.42 kB / 446 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1363, allocations: 4 kB / 446 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.214/0.3503, allocations: 6.014 MB / 452 MB, free: 24.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.677, allocations: 12.64 kB / 452.1 MB, free: 24.05 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 11.051908592053223]