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.001507/0.001507, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001594/0.001594, allocations: 212.4 kB / 24.52 MB, free: 3.941 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.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001414/0.001414, allocations: 51.92 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2366, allocations: 53.36 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003663/0.2403, allocations: 2.258 MB / 434.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005184/0.2408, allocations: 243.1 kB / 434.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2409, allocations: 4 kB / 434.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.2411, allocations: 47.52 kB / 434.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.2412, allocations: 79.27 kB / 434.5 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2414, allocations: 59.94 kB / 434.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.2417, allocations: 294.6 kB / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.2419, allocations: 72.11 kB / 434.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.242, allocations: 111.6 kB / 435 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.2422, allocations: 119.5 kB / 435.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.2422, allocations: 20 kB / 435.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.2423, allocations: 27.94 kB / 435.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.2423, allocations: 59.7 kB / 435.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2424, allocations: 107.5 kB / 435.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.2428, allocations: 290.8 kB / 435.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2428, allocations: 4 kB / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2428, allocations: 0 / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2428, allocations: 0 / 435.6 MB, free: 2.855 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.0007374/0.2435, allocations: 481.5 kB / 436.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2435, allocations: 15.97 kB / 436.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/0.2436, allocations: 4.688 kB / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.2436, allocations: 66.66 kB / 436.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.2437, allocations: 32.75 kB / 436.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.244, allocations: 182.9 kB / 436.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.244, allocations: 16.88 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.244, allocations: 24.38 kB / 436.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.2444, allocations: 246.9 kB / 436.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2445, allocations: 4 kB / 436.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.2445, allocations: 8 kB / 436.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2445, allocations: 8 kB / 436.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.2448, allocations: 163.8 kB / 436.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2458, allocations: 0.7299 MB / 437.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.2463, allocations: 275 kB / 437.8 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.2465, allocations: 114.5 kB / 438 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2466, allocations: 4 kB / 438 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2466, allocations: 46.48 kB / 438 MB, free: 296 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.2466, allocations: 0 / 438 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002512/0.2491, allocations: 1.511 MB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.2492, allocations: 107 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.2494, allocations: 183.8 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.2494, allocations: 37.7 kB / 439.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2495, allocations: 132.9 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.2496, allocations: 174.5 kB / 440.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.2497, allocations: 78.12 kB / 440.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.25, allocations: 338.8 kB / 440.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.2501, allocations: 88.83 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2503, allocations: 166.2 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2507, allocations: 274.7 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2507, allocations: 0 / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005403/0.2513, allocations: 343.7 kB / 441.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.2513, allocations: 14.59 kB / 441.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2513, allocations: 3.984 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2513, allocations: 7.938 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.2517, allocations: 95.89 kB / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2517, allocations: 0 / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.2518, allocations: 12 kB / 441.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.2518, allocations: 12 kB / 441.5 MB, free: 12.5 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.0001578/0.252, allocations: 153.7 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.813e-05/0.2521, allocations: 39.69 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/0.2521, allocations: 41.86 kB / 441.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2521, allocations: 4 kB / 441.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.2522, allocations: 4 kB / 441.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2522, allocations: 0 / 441.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.2536, allocations: 0.9845 MB / 442.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2536, allocations: 8.062 kB / 442.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.2539, allocations: 87.83 kB / 442.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.254, allocations: 11.94 kB / 442.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.254, allocations: 12 kB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.254, allocations: 4.094 kB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.254, allocations: 7.938 kB / 442.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.2548, allocations: 0.7248 MB / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.2548, allocations: 31.88 kB / 443.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.2549, allocations: 20.06 kB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2551, allocations: 15.88 kB / 443.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.2551, allocations: 39.88 kB / 443.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.2552, allocations: 12 kB / 443.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.2553, allocations: 136.5 kB / 443.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2553, allocations: 0 / 443.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.2557, allocations: 72 kB / 443.9 MB, free: 9.969 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.001109/0.2568, allocations: 1.267 MB / 445.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.2573, allocations: 252.5 kB / 445.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/0.2573, allocations: 0 / 445.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.2575, allocations: 137.6 kB / 445.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.2581, allocations: 69.42 kB / 445.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.2624, allocations: 3.293 MB / 448.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.2626, allocations: 159.8 kB / 449.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.2627, allocations: 38.94 kB / 449.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.2629, allocations: 87.42 kB / 449.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2629, allocations: 0 / 449.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.2912, allocations: 6.45 MB / 455.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.05, allocations: 7.812 kB / 455.7 MB, free: 14.18 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.352405552053824]