Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.001365/0.001365, allocations: 114 kB / 20.43 MB, free: 1.457 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.001458/0.001458, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 72.08 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2553, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003753/0.2591, allocations: 2.394 MB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2603, allocations: 0.6582 MB / 434.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.2604, allocations: 11.88 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.2606, allocations: 35.66 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.2607, allocations: 83.27 kB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.261, allocations: 63.86 kB / 434.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.2613, allocations: 270.8 kB / 434.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.2615, allocations: 71.23 kB / 434.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.2617, allocations: 123.5 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2619, allocations: 119.4 kB / 435 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.2619, allocations: 27.98 kB / 435 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.637e-05/0.262, allocations: 24 kB / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.262, allocations: 47.78 kB / 435.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2622, allocations: 119.4 kB / 435.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.2625, allocations: 275.2 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2625, allocations: 0 / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2625, allocations: 0 / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2625, allocations: 0 / 435.5 MB, free: 2.367 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007486/0.2633, allocations: 469.5 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2633, allocations: 11.97 kB / 435.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.2634, allocations: 62.67 kB / 436 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.2635, allocations: 36.73 kB / 436 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.2639, allocations: 182.9 kB / 436.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.2639, allocations: 16.81 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.2639, allocations: 24.33 kB / 436.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.2643, allocations: 199.4 kB / 436.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.2643, allocations: 3.984 kB / 436.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.2644, allocations: 12 kB / 436.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2644, allocations: 4 kB / 436.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.2647, allocations: 141.6 kB / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009671/0.2656, allocations: 0.5988 MB / 437.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.266, allocations: 165.6 kB / 437.4 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.2661, allocations: 88.91 kB / 437.5 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2661, allocations: 7.938 kB / 437.5 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2662, allocations: 38.56 kB / 437.5 MB, free: 208 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.2662, allocations: 0 / 437.5 MB, free: 208 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001891/0.2681, allocations: 0.9149 MB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2681, allocations: 59.34 kB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.2683, allocations: 187.2 kB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.2683, allocations: 29.7 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.2684, allocations: 144.8 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2685, allocations: 119 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.2686, allocations: 49.7 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2688, allocations: 338.8 kB / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2689, allocations: 63.97 kB / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2691, allocations: 111.2 kB / 439.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.2694, allocations: 196.7 kB / 439.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2694, allocations: 0 / 439.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005318/0.27, allocations: 291.3 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.27, allocations: 4 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.27, allocations: 3.938 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.2702, allocations: 48.77 kB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.2704, allocations: 51.97 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.272, allocations: 1.637 MB / 441.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.2722, allocations: 15.95 kB / 441.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.2722, allocations: 12 kB / 441.7 MB, free: 11.72 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.2724, allocations: 141.5 kB / 441.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.2724, allocations: 23.8 kB / 441.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.364e-05/0.2725, allocations: 34.64 kB / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2725, allocations: 4 kB / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2725, allocations: 4 kB / 441.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2725, allocations: 3.938 kB / 441.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.2737, allocations: 0.7539 MB / 442.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2737, allocations: 0 / 442.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.2739, allocations: 63.95 kB / 442.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.274, allocations: 36.88 kB / 442.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.2741, allocations: 8 kB / 442.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.2754, allocations: 1.381 MB / 444.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2754, allocations: 3.984 kB / 444.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.2761, allocations: 490.9 kB / 444.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.2761, allocations: 15.86 kB / 444.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.2762, allocations: 8 kB / 444.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2763, allocations: 12 kB / 444.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.2764, allocations: 24 kB / 444.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2764, allocations: 8 kB / 444.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.2765, allocations: 132.4 kB / 444.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2765, allocations: 4 kB / 444.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.2769, allocations: 72 kB / 444.9 MB, free: 8.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.001068/0.278, allocations: 1.013 MB / 446 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.2786, allocations: 334.6 kB / 446.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2787, allocations: 0 / 446.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.279, allocations: 234.9 kB / 446.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.2795, allocations: 62.19 kB / 446.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.2834, allocations: 2.755 MB / 449.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.2838, allocations: 0.7564 MB / 450.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.319e-05/0.2839, allocations: 22.28 kB / 450.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.284, allocations: 79.34 kB / 450.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.284, allocations: 0 / 450.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.3219, allocations: 5.547 MB / 455.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.87, allocations: 4.062 kB / 455.7 MB, free: 13.42 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_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_First.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.436360277999484]