Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001284/0.001284, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001443/0.001443, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2509, allocations: 53.4 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003774/0.2547, allocations: 2.391 MB / 433.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2559, allocations: 0.6622 MB / 434.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.256, allocations: 7.938 kB / 434.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2562, allocations: 35.59 kB / 434.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.2564, allocations: 75.34 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2566, allocations: 59.92 kB / 434.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.2569, allocations: 266.7 kB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.2571, allocations: 64.52 kB / 434.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.2573, allocations: 111.6 kB / 434.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2575, allocations: 103.5 kB / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.2575, allocations: 16 kB / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.2576, allocations: 28 kB / 435 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.2576, allocations: 47.83 kB / 435 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2578, allocations: 119.4 kB / 435.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.2581, allocations: 255.4 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2581, allocations: 0 / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2581, allocations: 3.938 kB / 435.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2581, allocations: 0 / 435.4 MB, free: 2.453 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007496/0.2589, allocations: 453.5 kB / 435.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2589, allocations: 12.03 kB / 435.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.219e-05/0.259, allocations: 58.73 kB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.2591, allocations: 36.78 kB / 435.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.2595, allocations: 182.8 kB / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2595, allocations: 16.81 kB / 436.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.2596, allocations: 20.38 kB / 436.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.26, allocations: 213.9 kB / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.26, allocations: 7.953 kB / 436.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.26, allocations: 8 kB / 436.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.26, allocations: 8 kB / 436.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.2603, allocations: 125.7 kB / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2614, allocations: 0.6695 MB / 437.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.2617, allocations: 152.4 kB / 437.3 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2618, allocations: 60.83 kB / 437.4 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.2618, allocations: 4 kB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.2619, allocations: 34.56 kB / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.2619, allocations: 0 / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001591/0.2635, allocations: 0.7416 MB / 438.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.2635, allocations: 59.34 kB / 438.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.2637, allocations: 184.1 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.2637, allocations: 25.7 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2638, allocations: 152.4 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.2639, allocations: 91.16 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.264, allocations: 49.7 kB / 438.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2641, allocations: 326.8 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2643, allocations: 55.97 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.2644, allocations: 96.25 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.2647, allocations: 176.8 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2647, allocations: 0 / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004579/0.2652, allocations: 250.1 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2652, allocations: 11.92 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2652, allocations: 0 / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.2654, allocations: 32.84 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2656, allocations: 55.91 kB / 439.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.267, allocations: 1.385 MB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2671, allocations: 8 kB / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2671, allocations: 8 kB / 441.1 MB, free: 12.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.2672, allocations: 137.8 kB / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.2673, allocations: 19.86 kB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.2673, allocations: 29.95 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.2674, allocations: 7.938 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2674, allocations: 0 / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2674, allocations: 0 / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009628/0.2683, allocations: 0.616 MB / 441.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2683, allocations: 0 / 441.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.2686, allocations: 47.91 kB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.2687, allocations: 32.84 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2687, allocations: 4 kB / 442 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.2699, allocations: 1.385 MB / 443.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.27, allocations: 4.031 kB / 443.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.2706, allocations: 394.1 kB / 443.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.2706, allocations: 23.89 kB / 443.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2706, allocations: 8.062 kB / 443.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.2707, allocations: 8 kB / 443.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.2708, allocations: 27.84 kB / 443.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2708, allocations: 11.98 kB / 443.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2709, allocations: 129.2 kB / 444 MB, free: 9.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2709, allocations: 0 / 444 MB, free: 9.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.2713, allocations: 52 kB / 444 MB, free: 9.207 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009246/0.2722, allocations: 0.9378 MB / 445 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005823/0.2728, allocations: 286.5 kB / 445.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2728, allocations: 0 / 445.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.2731, allocations: 210.5 kB / 445.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.2735, allocations: 36.3 kB / 445.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.2769, allocations: 2.557 MB / 448 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.2773, allocations: 0.7482 MB / 448.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.551e-05/0.2773, allocations: 21.94 kB / 448.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.2774, allocations: 71.41 kB / 448.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2774, allocations: 0 / 448.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.3163, allocations: 4.993 MB / 453.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.84, allocations: 8 kB / 453.9 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: 14.292429818000528]