Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 191.4 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 47.92 kB / 371.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2201, allocations: 52.17 MB / 423.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003445/0.2235, allocations: 2.264 MB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004709/0.224, allocations: 242.9 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2241, allocations: 7.938 kB / 425.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.2242, allocations: 39.58 kB / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.2244, allocations: 87.2 kB / 426 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.2245, allocations: 59.92 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.2249, allocations: 294.6 kB / 426.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.225, allocations: 69.97 kB / 426.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.2252, allocations: 111.6 kB / 426.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.2253, allocations: 119.5 kB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.2254, allocations: 20 kB / 426.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.2254, allocations: 24 kB / 426.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.2255, allocations: 51.78 kB / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2256, allocations: 115.5 kB / 426.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.2259, allocations: 297 kB / 427.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2259, allocations: 0 / 427.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2259, allocations: 4 kB / 427.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2259, allocations: 0 / 427.1 MB, free: 10.67 MB / 334.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.0007521/0.2267, allocations: 481.5 kB / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2267, allocations: 12.03 kB / 427.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.416e-05/0.2268, allocations: 8.688 kB / 427.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.2268, allocations: 62.59 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.2269, allocations: 32.75 kB / 427.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.2272, allocations: 182.8 kB / 427.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.2272, allocations: 16.88 kB / 427.9 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.2272, allocations: 28.33 kB / 427.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.2276, allocations: 246.9 kB / 428.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2276, allocations: 4 kB / 428.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.2277, allocations: 12 kB / 428.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2277, allocations: 8 kB / 428.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.2279, allocations: 155.9 kB / 428.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.229, allocations: 0.7183 MB / 429 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.2294, allocations: 279.6 kB / 429.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2297, allocations: 122.5 kB / 429.4 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.2297, allocations: 4 kB / 429.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2297, allocations: 42.5 kB / 429.5 MB, free: 8.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.2297, allocations: 0 / 429.5 MB, free: 8.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002624/0.2323, allocations: 1.51 MB / 431 MB, free: 6.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.2324, allocations: 106.8 kB / 431.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2326, allocations: 193 kB / 431.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.2327, allocations: 37.7 kB / 431.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2328, allocations: 136.8 kB / 431.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.2329, allocations: 166.5 kB / 431.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.233, allocations: 78.12 kB / 431.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2332, allocations: 338.8 kB / 432 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.2333, allocations: 84.84 kB / 432.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.2335, allocations: 166.3 kB / 432.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.234, allocations: 279.8 kB / 432.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.234, allocations: 4 kB / 432.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005301/0.2345, allocations: 342.4 kB / 432.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2345, allocations: 8 kB / 432.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2345, allocations: 0.9375 kB / 432.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2345, allocations: 4 kB / 432.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.2349, allocations: 95.84 kB / 433 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2349, allocations: 4 kB / 433 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.235, allocations: 8 kB / 433 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.235, allocations: 12 kB / 433 MB, free: 4.32 MB / 334.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.0001672/0.2352, allocations: 165.7 kB / 433.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.2353, allocations: 35.69 kB / 433.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.784e-05/0.2354, allocations: 33.81 kB / 433.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2354, allocations: 8 kB / 433.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.2354, allocations: 3.938 kB / 433.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.2354, allocations: 3.984 kB / 433.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.2368, allocations: 0.9756 MB / 434.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.2368, allocations: 7.938 kB / 434.2 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.2372, allocations: 87.84 kB / 434.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2372, allocations: 4 kB / 434.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2372, allocations: 15.98 kB / 434.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2372, allocations: 4 kB / 434.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2372, allocations: 4 kB / 434.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008012/0.238, allocations: 0.729 MB / 435.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.238, allocations: 23.84 kB / 435.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.2381, allocations: 16.06 kB / 435.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2383, allocations: 11.94 kB / 435.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.2383, allocations: 39.81 kB / 435.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.2384, allocations: 16 kB / 435.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.2385, allocations: 135.3 kB / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2385, allocations: 0 / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.2389, allocations: 72 kB / 435.4 MB, free: 1.805 MB / 334.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.001121/0.24, allocations: 1.27 MB / 436.7 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.2405, allocations: 263.8 kB / 436.9 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2405, allocations: 0 / 436.9 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.2407, allocations: 136.4 kB / 437.1 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.2413, allocations: 72.58 kB / 437.1 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.2454, allocations: 3.297 MB / 440.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.2456, allocations: 163.8 kB / 440.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.2457, allocations: 30.95 kB / 440.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2458, allocations: 95.41 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2458, allocations: 0 / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.2743, allocations: 6.439 MB / 447.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.97, allocations: 15.8 kB / 447.2 MB, free: 5.992 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.214162457035854]