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.001797/0.001797, allocations: 109.1 kB / 21.22 MB, free: 0.7383 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.001908/0.001908, allocations: 210.7 kB / 24.52 MB, free: 4.098 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.389/1.389, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.001823/0.001823, allocations: 63.89 kB / 378.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2368, allocations: 53.42 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00376/0.2406, allocations: 2.44 MB / 434.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005898/0.2412, allocations: 251 kB / 434.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2413, allocations: 11.94 kB / 434.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.2415, allocations: 39.58 kB / 434.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.2416, allocations: 83.27 kB / 434.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.2418, allocations: 59.92 kB / 434.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.2421, allocations: 286.6 kB / 435.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2423, allocations: 73.98 kB / 435.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2425, allocations: 111.6 kB / 435.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2426, allocations: 123.4 kB / 435.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.2427, allocations: 20 kB / 435.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.2427, allocations: 24 kB / 435.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.2428, allocations: 55.81 kB / 435.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.2429, allocations: 131.3 kB / 435.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.2433, allocations: 295.5 kB / 435.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2433, allocations: 4 kB / 435.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2433, allocations: 0 / 435.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2433, allocations: 0 / 435.9 MB, free: 2.711 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.000783/0.2441, allocations: 485.5 kB / 436.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2441, allocations: 8.031 kB / 436.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.833e-05/0.2441, allocations: 4.688 kB / 436.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/0.2442, allocations: 62.72 kB / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.2443, allocations: 32.75 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.2446, allocations: 186.9 kB / 436.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2446, allocations: 12.88 kB / 436.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.2447, allocations: 28.38 kB / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.2451, allocations: 242.9 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.2451, allocations: 7.938 kB / 437 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.2451, allocations: 8 kB / 437 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2451, allocations: 8 kB / 437 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.2454, allocations: 174.8 kB / 437.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2466, allocations: 0.7611 MB / 437.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.2471, allocations: 283.7 kB / 438.2 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.2474, allocations: 118.5 kB / 438.3 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.2474, allocations: 7.938 kB / 438.3 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.2474, allocations: 42.56 kB / 438.4 MB, free: 96 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.2474, allocations: 0 / 438.4 MB, free: 96 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002709/0.2501, allocations: 1.51 MB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.2502, allocations: 106.8 kB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2504, allocations: 191.2 kB / 440.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.2505, allocations: 33.7 kB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2506, allocations: 136.9 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.2507, allocations: 174.4 kB / 440.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2508, allocations: 70.14 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.251, allocations: 338.8 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2511, allocations: 92.84 kB / 441 MB, free: 13.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2513, allocations: 158.4 kB / 441.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.2517, allocations: 283.1 kB / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2518, allocations: 0 / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005539/0.2523, allocations: 342.3 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.2523, allocations: 8.094 kB / 441.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2523, allocations: 7.984 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2524, allocations: 4 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.2527, allocations: 87.91 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.2527, allocations: 4 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2528, allocations: 8 kB / 441.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.2529, allocations: 16 kB / 441.9 MB, free: 12.32 MB / 350.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.0001622/0.253, allocations: 153.7 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.2531, allocations: 35.75 kB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-05/0.2532, allocations: 37.81 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2532, allocations: 4 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2532, allocations: 4 kB / 442.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2532, allocations: 3.984 kB / 442.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.2547, allocations: 1.03 MB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.2547, allocations: 7.938 kB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.2551, allocations: 87.89 kB / 443.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.2551, allocations: 4 kB / 443.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.2551, allocations: 16.28 kB / 443.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.2551, allocations: 4 kB / 443.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.2551, allocations: 7.938 kB / 443.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.2559, allocations: 0.7326 MB / 444 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.256, allocations: 28.05 kB / 444 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.256, allocations: 12 kB / 444.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2563, allocations: 16 kB / 444.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.2563, allocations: 35.88 kB / 444.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2563, allocations: 12.05 kB / 444.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.2564, allocations: 140.5 kB / 444.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2564, allocations: 0 / 444.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.2569, allocations: 75.94 kB / 444.3 MB, free: 9.75 MB / 350.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.001178/0.2581, allocations: 1.275 MB / 445.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004611/0.2585, allocations: 250.5 kB / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2585, allocations: 192 / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.2587, allocations: 139.7 kB / 446 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.2594, allocations: 59.91 kB / 446 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.2634, allocations: 3.29 MB / 449.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.2638, allocations: 0.7723 MB / 450.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.2639, allocations: 38.95 kB / 450.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.2641, allocations: 87.42 kB / 450.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2641, allocations: 0 / 450.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.2939, allocations: 6.363 MB / 456.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.12, allocations: 4.062 kB / 456.6 MB, free: 13.37 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.449323202017695]