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.0009539/0.0009539, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001007/0.001007, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9993/0.9993, allocations: 177 MB / 204.8 MB, free: 5.582 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.934e-06/1.934e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.69e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006054/0.006081, allocations: 5.309 MB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.009078, allocations: 2.11 MB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.009506, allocations: 51.56 kB / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.01, allocations: 214.1 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.0103, allocations: 174.3 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.01104, allocations: 406.9 kB / 281.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008041/0.01184, allocations: 1.048 MB / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.01232, allocations: 397.6 kB / 282.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.01297, allocations: 0.5263 MB / 283.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.01325, allocations: 279.1 kB / 283.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.202e-05/0.01333, allocations: 92 kB / 283.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.01351, allocations: 151.8 kB / 283.6 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.01364, allocations: 211.2 kB / 283.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.01388, allocations: 291.3 kB / 284.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006364/0.01452, allocations: 0.6849 MB / 284.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.01453, allocations: 0 / 284.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01453, allocations: 0 / 284.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.01454, allocations: 0 / 284.8 MB, free: 5.473 MB / 266.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.001105/0.01565, allocations: 1.08 MB / 285.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.01569, allocations: 15.98 kB / 285.9 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.01595, allocations: 164.4 kB / 286.1 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.01646, allocations: 486.4 kB / 286.5 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.01649, allocations: 66.38 kB / 286.6 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.01658, allocations: 88.33 kB / 286.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000775/0.01735, allocations: 0.6536 MB / 287.3 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.01738, allocations: 8.188 kB / 287.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.01742, allocations: 36.31 kB / 287.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.01744, allocations: 23.94 kB / 287.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.01788, allocations: 283.7 kB / 287.7 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/0.1199, allocations: 2.963 MB / 290.6 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.1203, allocations: 167.4 kB / 290.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.1204, allocations: 64.95 kB / 290.9 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.1205, allocations: 27.84 kB / 290.9 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1205, allocations: 38.98 kB / 290.9 MB, free: 24.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 2.295e-06/0.1205, allocations: 0 / 290.9 MB, free: 24.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001736/0.1223, allocations: 0.9713 MB / 291.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1223, allocations: 54.59 kB / 292 MB, free: 24.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.1225, allocations: 358.5 kB / 292.3 MB, free: 23.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1226, allocations: 32.67 kB / 292.3 MB, free: 23.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1228, allocations: 455.3 kB / 292.8 MB, free: 23.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.1228, allocations: 136.5 kB / 292.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/0.1229, allocations: 94.98 kB / 293 MB, free: 23.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.123, allocations: 0.5225 MB / 293.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1231, allocations: 62.61 kB / 293.6 MB, free: 23.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.1233, allocations: 256.1 kB / 293.8 MB, free: 22.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1236, allocations: 354.6 kB / 294.2 MB, free: 22.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1236, allocations: 2.453 kB / 294.2 MB, free: 22.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004424/0.124, allocations: 389.2 kB / 294.6 MB, free: 22.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1241, allocations: 7.969 kB / 294.6 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1241, allocations: 5.75 kB / 294.6 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.1242, allocations: 37.52 kB / 294.6 MB, free: 22.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1245, allocations: 103.8 kB / 294.7 MB, free: 22.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002242/0.1247, allocations: 0.8154 MB / 295.5 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1248, allocations: 15.19 kB / 295.6 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1248, allocations: 29.86 kB / 295.6 MB, free: 21.68 MB / 266.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.0001237/0.1249, allocations: 183.1 kB / 295.8 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.125, allocations: 53.14 kB / 295.8 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.1253, allocations: 266.2 kB / 296.1 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1253, allocations: 3.25 kB / 296.1 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1253, allocations: 1.312 kB / 296.1 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1254, allocations: 3.938 kB / 296.1 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000843/0.1262, allocations: 0.8421 MB / 296.9 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1262, allocations: 2.438 kB / 296.9 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.1264, allocations: 83.59 kB / 297 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.965e-05/0.1265, allocations: 27.58 kB / 297 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1265, allocations: 12.59 kB / 297 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001693/0.1267, allocations: 0.8076 MB / 297.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1267, allocations: 2.344 kB / 297.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.1271, allocations: 0.5002 MB / 298.4 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1272, allocations: 37.06 kB / 298.4 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1272, allocations: 12.05 kB / 298.4 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.1273, allocations: 8.297 kB / 298.4 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.1273, allocations: 28.83 kB / 298.4 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1273, allocations: 14.67 kB / 298.5 MB, free: 19.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1275, allocations: 233.4 kB / 298.7 MB, free: 19.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1275, allocations: 0.5625 kB / 298.7 MB, free: 19.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000381/0.1279, allocations: 128.4 kB / 298.8 MB, free: 19.81 MB / 266.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.0001296/0.128, allocations: 122.6 kB / 298.9 MB, free: 19.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.1284, allocations: 234.8 kB / 299.2 MB, free: 19.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1284, allocations: 5.125 kB / 299.2 MB, free: 19.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1285, allocations: 116.7 kB / 299.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1288, allocations: 66.81 kB / 299.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.1305, allocations: 1.388 MB / 300.7 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.1306, allocations: 147.7 kB / 300.9 MB, free: 18.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1307, allocations: 45.78 kB / 300.9 MB, free: 18.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.1308, allocations: 31.77 kB / 301 MB, free: 18.71 MB / 266.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1308, allocations: 0 / 301 MB, free: 18.71 MB / 266.7 MB Notification: Performance of Templates: time 0.006997/0.1378, allocations: 3.758 MB / 304.7 MB, free: 18.08 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.765593589283526]