Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.0009211/0.0009211, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005187/0.005187, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8549/0.8549, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.837e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.004214/0.004233, allocations: 4.852 MB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.006958, allocations: 2.056 MB / 332.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.007452, allocations: 55.56 kB / 332.7 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.007803, allocations: 206.2 kB / 332.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.008182, allocations: 186.2 kB / 333.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009112/0.009093, allocations: 407 kB / 333.5 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000992/0.01009, allocations: 1.048 MB / 334.6 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.01051, allocations: 393.6 kB / 334.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.01092, allocations: 0.5224 MB / 335.5 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.01116, allocations: 267.2 kB / 335.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.01123, allocations: 92 kB / 335.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.01139, allocations: 155.8 kB / 336 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.0115, allocations: 207.3 kB / 336.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.01167, allocations: 287.3 kB / 336.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007687/0.01244, allocations: 1.203 MB / 337.7 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.01244, allocations: 0 / 337.7 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01244, allocations: 0 / 337.7 MB, free: 3.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.01245, allocations: 0 / 337.7 MB, free: 3.422 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.0009227/0.01337, allocations: 0.9725 MB / 338.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.01341, allocations: 19.98 kB / 338.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.01359, allocations: 100.4 kB / 338.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.0141, allocations: 455.6 kB / 339.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.01413, allocations: 66.38 kB / 339.3 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.558e-05/0.01421, allocations: 88.33 kB / 339.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.01504, allocations: 0.8049 MB / 340.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.01507, allocations: 4.188 kB / 340.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.01511, allocations: 36.38 kB / 340.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.01512, allocations: 23.94 kB / 340.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.01571, allocations: 0.4957 MB / 340.7 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.01777, allocations: 2.481 MB / 343.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.01814, allocations: 203.2 kB / 343.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.01825, allocations: 92.77 kB / 343.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.149e-05/0.01833, allocations: 15.98 kB / 343.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.01835, allocations: 46.48 kB / 343.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.582e-06/0.01835, allocations: 4 kB / 343.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001408/0.01976, allocations: 1.119 MB / 344.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01979, allocations: 55.41 kB / 344.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.01999, allocations: 317.6 kB / 345 MB, free: 11.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.02001, allocations: 29.7 kB / 345.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.02016, allocations: 411.7 kB / 345.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.02022, allocations: 142.8 kB / 345.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.0203, allocations: 86.14 kB / 345.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.02038, allocations: 350.8 kB / 346 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.02051, allocations: 105 kB / 346.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.02068, allocations: 257.8 kB / 346.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.02101, allocations: 392.9 kB / 346.8 MB, free: 9.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.02102, allocations: 7.938 kB / 346.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004257/0.02144, allocations: 461.7 kB / 347.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.02146, allocations: 8 kB / 347.2 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02147, allocations: 4 kB / 347.2 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.0216, allocations: 36.84 kB / 347.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.02178, allocations: 107.8 kB / 347.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002625/0.02204, allocations: 0.5601 MB / 347.9 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/0.02214, allocations: 19.92 kB / 347.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.02216, allocations: 24 kB / 348 MB, free: 8.598 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004158/0.02258, allocations: 221.9 kB / 348.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.02261, allocations: 39.77 kB / 348.2 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.02298, allocations: 318.5 kB / 348.5 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02299, allocations: 7.938 kB / 348.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.02299, allocations: 3.938 kB / 348.6 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.023, allocations: 48 / 348.6 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/0.02374, allocations: 0.8533 MB / 349.4 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02374, allocations: 4 kB / 349.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.02394, allocations: 83.89 kB / 349.5 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-05/0.02401, allocations: 28.84 kB / 349.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.02403, allocations: 12 kB / 349.5 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001927/0.02422, allocations: 0.5485 MB / 350.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.02422, allocations: 3.938 kB / 350.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.02466, allocations: 0.5487 MB / 350.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.02469, allocations: 31.86 kB / 350.7 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.02472, allocations: 15.88 kB / 350.7 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.0248, allocations: 11.98 kB / 350.7 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.02484, allocations: 23.97 kB / 350.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.02485, allocations: 15.98 kB / 350.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.02498, allocations: 215.2 kB / 350.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02498, allocations: 0 / 350.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.02525, allocations: 116 kB / 351.1 MB, free: 5.379 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.02537, allocations: 127 kB / 351.2 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.02573, allocations: 289 kB / 351.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02573, allocations: 0 / 351.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.02588, allocations: 140.2 kB / 351.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.0262, allocations: 79.08 kB / 351.7 MB, free: 4.758 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.02756, allocations: 1.405 MB / 353.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.02776, allocations: 333.6 kB / 353.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.02782, allocations: 36.5 kB / 353.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02782, allocations: 0 / 353.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of Templates: time 0.00806/0.03588, allocations: 10.22 MB / 363.7 MB, free: 8.707 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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: 4.696307526901364]