Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.001752/0.001752, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002131/0.002131, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003137/0.003137, allocations: 67.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2488, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003439/0.2523, allocations: 2.21 MB / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2536, allocations: 0.7284 MB / 434.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2537, allocations: 7.938 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.2539, allocations: 43.52 kB / 434.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.2542, allocations: 91.27 kB / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.2545, allocations: 115.8 kB / 434.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.2548, allocations: 302.7 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.255, allocations: 44.86 kB / 434.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2551, allocations: 123.5 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.2553, allocations: 107.5 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.2554, allocations: 23.98 kB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.2554, allocations: 20 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.2555, allocations: 55.77 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.2556, allocations: 99.53 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.2559, allocations: 280.4 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2559, allocations: 4 kB / 435.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2559, allocations: 0 / 435.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.2559, allocations: 0 / 435.4 MB, free: 2.191 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008725/0.2568, allocations: 493.4 kB / 435.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2568, allocations: 15.98 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.18e-05/0.2569, allocations: 62.73 kB / 435.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.2569, allocations: 32.75 kB / 436 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.2573, allocations: 196 kB / 436.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.2573, allocations: 16.81 kB / 436.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.2574, allocations: 24.38 kB / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.2578, allocations: 242.8 kB / 436.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2578, allocations: 11.92 kB / 436.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.2578, allocations: 12 kB / 436.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.2578, allocations: 8 kB / 436.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.2582, allocations: 155.8 kB / 436.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2596, allocations: 0.9298 MB / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005472/0.2601, allocations: 278.2 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2603, allocations: 91.33 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2603, allocations: 8 kB / 437.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.2604, allocations: 38.56 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.2604, allocations: 0 / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001858/0.2622, allocations: 1.04 MB / 439 MB, free: 14.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/0.2623, allocations: 140.5 kB / 439.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.2626, allocations: 218.6 kB / 439.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.2626, allocations: 29.7 kB / 439.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2627, allocations: 156.7 kB / 439.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.2628, allocations: 126.9 kB / 439.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.2629, allocations: 74.06 kB / 439.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.2631, allocations: 338.8 kB / 440 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2633, allocations: 76.84 kB / 440.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.2635, allocations: 202 kB / 440.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.264, allocations: 294 kB / 440.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.264, allocations: 0 / 440.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006222/0.2646, allocations: 349 kB / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2647, allocations: 8 kB / 440.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2647, allocations: 4 kB / 441 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2647, allocations: 4 kB / 441 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.2651, allocations: 95.83 kB / 441 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2651, allocations: 8 kB / 441.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.2652, allocations: 19.94 kB / 441.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.2653, allocations: 15.98 kB / 441.1 MB, free: 11.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 48 * 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.0001524/0.2654, allocations: 150 kB / 441.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.2655, allocations: 23.86 kB / 441.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.2656, allocations: 37.39 kB / 441.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.2656, allocations: 4 kB / 441.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2656, allocations: 0 / 441.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.2656, allocations: 3.938 kB / 441.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.267, allocations: 0.9117 MB / 442.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.2671, allocations: 4 kB / 442.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.2674, allocations: 83.89 kB / 442.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.2674, allocations: 4 kB / 442.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.2674, allocations: 8 kB / 442.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.2675, allocations: 11.92 kB / 442.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.2675, allocations: 4 kB / 442.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000858/0.2683, allocations: 0.7004 MB / 443 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.2684, allocations: 23.86 kB / 443.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.2684, allocations: 12 kB / 443.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.2687, allocations: 11.98 kB / 443.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.2687, allocations: 35.83 kB / 443.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.2688, allocations: 8 kB / 443.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.2689, allocations: 148.5 kB / 443.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2689, allocations: 4 kB / 443.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.2693, allocations: 64 kB / 443.3 MB, free: 9.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (32): * Single equations (assignments): 32 * 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.001154/0.2705, allocations: 1.257 MB / 444.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.271, allocations: 229.2 kB / 444.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.271, allocations: 4 kB / 444.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.2712, allocations: 123.8 kB / 444.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.272, allocations: 71.3 kB / 445 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.2765, allocations: 3.496 MB / 448.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.2767, allocations: 151.1 kB / 448.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.2769, allocations: 30.97 kB / 448.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.277, allocations: 87.39 kB / 448.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.277, allocations: 0 / 448.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.3114, allocations: 6.501 MB / 455.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.71, allocations: 14.92 kB / 455.3 MB, free: 13.48 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! Error: Could not read variable mass3.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv. Warning: Get data of variable mass3.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! Error: Could not read variable mass4.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv. Warning: Get data of variable mass4.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.44464508490637]