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.001246/0.001246, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00139/0.00139, allocations: 207.4 kB / 23.73 MB, free: 4.391 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.393/1.393, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.002763/0.002763, allocations: 63.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2467, allocations: 53.39 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003905/0.2506, allocations: 2.259 MB / 433.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2519, allocations: 0.6271 MB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.252, allocations: 7.938 kB / 434 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.2521, allocations: 35.59 kB / 434.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.2523, allocations: 75.34 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2526, allocations: 63.84 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.2529, allocations: 270.7 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.253, allocations: 79.02 kB / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.2532, allocations: 119.6 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2534, allocations: 95.48 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.2534, allocations: 20 kB / 434.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.2535, allocations: 32 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.2535, allocations: 55.77 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.2536, allocations: 99.53 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.254, allocations: 268.7 kB / 435.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.254, allocations: 3.984 kB / 435.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.254, allocations: 0 / 435.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.254, allocations: 0 / 435.2 MB, free: 2.355 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.0007408/0.2547, allocations: 469.5 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2548, allocations: 11.98 kB / 435.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.2549, allocations: 58.73 kB / 435.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.255, allocations: 40.73 kB / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.2554, allocations: 182.9 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2554, allocations: 12.81 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.2554, allocations: 28.33 kB / 436 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.2558, allocations: 199.4 kB / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.2558, allocations: 7.938 kB / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.2558, allocations: 8 kB / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.2558, allocations: 11.94 kB / 436.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.2561, allocations: 133.7 kB / 436.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.257, allocations: 0.548 MB / 436.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.2573, allocations: 184.8 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.2575, allocations: 88.83 kB / 437.2 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2575, allocations: 0 / 437.2 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2575, allocations: 42.55 kB / 437.2 MB, free: 236 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.2575, allocations: 0 / 437.2 MB, free: 236 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001828/0.2594, allocations: 0.9188 MB / 438.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2594, allocations: 59.34 kB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.2596, allocations: 183.2 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2596, allocations: 29.7 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.2597, allocations: 140.8 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.99e-05/0.2598, allocations: 123 kB / 438.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.2599, allocations: 49.7 kB / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.26, allocations: 330.8 kB / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2602, allocations: 71.95 kB / 439.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.2603, allocations: 111.2 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.2607, allocations: 196.7 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2607, allocations: 0 / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005126/0.2612, allocations: 287.3 kB / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2612, allocations: 4 kB / 439.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2612, allocations: 4 kB / 439.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.2614, allocations: 48.83 kB / 439.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.2616, allocations: 51.97 kB / 439.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.2632, allocations: 1.629 MB / 441.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2633, allocations: 12.03 kB / 441.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2633, allocations: 8 kB / 441.4 MB, free: 11.77 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.000141/0.2635, allocations: 141.5 kB / 441.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.2635, allocations: 39.72 kB / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.2636, allocations: 30.64 kB / 441.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2636, allocations: 0 / 441.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2636, allocations: 7.938 kB / 441.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2636, allocations: 0 / 441.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.2647, allocations: 0.7306 MB / 442.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2647, allocations: 0 / 442.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.265, allocations: 59.91 kB / 442.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.2651, allocations: 28.84 kB / 442.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2651, allocations: 12 kB / 442.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.2663, allocations: 1.381 MB / 443.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2663, allocations: 0 / 443.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/0.267, allocations: 482.8 kB / 444.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.2671, allocations: 24.09 kB / 444.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.2671, allocations: 11.94 kB / 444.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2672, allocations: 12.03 kB / 444.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.2673, allocations: 23.95 kB / 444.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2673, allocations: 7.984 kB / 444.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.2674, allocations: 136.5 kB / 444.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2674, allocations: 0 / 444.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.2678, allocations: 64 kB / 444.6 MB, free: 8.371 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.001074/0.2689, allocations: 1.021 MB / 445.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005956/0.2695, allocations: 330.6 kB / 445.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2695, allocations: 0 / 445.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.2698, allocations: 230.5 kB / 446.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.2702, allocations: 51.91 kB / 446.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.2738, allocations: 2.752 MB / 449 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2739, allocations: 154.6 kB / 449.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.856e-05/0.274, allocations: 22.3 kB / 449.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2742, allocations: 75.41 kB / 449.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2742, allocations: 0 / 449.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.3123, allocations: 5.993 MB / 455.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.02, allocations: 0 / 455.2 MB, free: 13.69 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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: 17.203724802006036]