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.0009684/0.0009684, allocations: 81.81 kB / 21.42 MB, free: 3.074 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.0009823/0.0009823, allocations: 167.3 kB / 24.82 MB, free: 8.926 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.9901/0.9901, allocations: 177 MB / 205.1 MB, free: 5.477 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 3.497e-06/3.497e-06, allocations: 4 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.937e-05, allocations: 9.266 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.004721/0.004751, allocations: 5.188 MB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.006907, allocations: 2.075 MB / 280.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.007195, allocations: 47.62 kB / 280.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.007517, allocations: 214.1 kB / 280.8 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.007732, allocations: 170.3 kB / 281 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.008281, allocations: 418.8 kB / 281.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.008908, allocations: 1.04 MB / 282.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.009338, allocations: 401.5 kB / 282.9 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.009754, allocations: 0.5302 MB / 283.4 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.009992, allocations: 275.2 kB / 283.7 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.01007, allocations: 92 kB / 283.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.01023, allocations: 155.8 kB / 283.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.01035, allocations: 207.3 kB / 284.1 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.01053, allocations: 295.3 kB / 284.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.01105, allocations: 0.681 MB / 285.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01105, allocations: 4 kB / 285.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01105, allocations: 0 / 285.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01106, allocations: 0 / 285.1 MB, free: 5.406 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.0008815/0.01194, allocations: 1.08 MB / 286.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.01197, allocations: 11.98 kB / 286.2 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.01217, allocations: 168.4 kB / 286.3 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.01261, allocations: 486.3 kB / 286.8 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.01265, allocations: 66.38 kB / 286.9 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.01272, allocations: 96.3 kB / 287 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.01331, allocations: 0.6027 MB / 287.6 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.01333, allocations: 8.172 kB / 287.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.01337, allocations: 32.38 kB / 287.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.01338, allocations: 23.94 kB / 287.6 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.01368, allocations: 233.6 kB / 287.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/0.1191, allocations: 2.876 MB / 290.7 MB, free: 24.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.1195, allocations: 154.9 kB / 290.9 MB, free: 24.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.1196, allocations: 59.14 kB / 290.9 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.149e-05/0.1197, allocations: 20.58 kB / 291 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.1197, allocations: 38.55 kB / 291 MB, free: 23.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/0.1197, allocations: 1.031 kB / 291 MB, free: 23.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00144/0.1212, allocations: 0.8438 MB / 291.8 MB, free: 23.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.1212, allocations: 56.47 kB / 291.9 MB, free: 23.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.1214, allocations: 351.3 kB / 292.2 MB, free: 23.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1214, allocations: 35.48 kB / 292.3 MB, free: 23.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1216, allocations: 460.4 kB / 292.7 MB, free: 23.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.1217, allocations: 145 kB / 292.9 MB, free: 23.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.1218, allocations: 90 kB / 293 MB, free: 23.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.1218, allocations: 0.5253 MB / 293.5 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.1219, allocations: 44.33 kB / 293.5 MB, free: 22.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.122, allocations: 250.5 kB / 293.8 MB, free: 22.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.1223, allocations: 340.8 kB / 294.1 MB, free: 22.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1223, allocations: 2.438 kB / 294.1 MB, free: 22.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004228/0.1227, allocations: 352.2 kB / 294.4 MB, free: 22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1227, allocations: 9.5 kB / 294.5 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1227, allocations: 5.141 kB / 294.5 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.1229, allocations: 31.84 kB / 294.5 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.1231, allocations: 111.3 kB / 294.6 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002056/0.1234, allocations: 0.8106 MB / 295.4 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.1235, allocations: 18.06 kB / 295.4 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.1235, allocations: 21.81 kB / 295.5 MB, free: 21.2 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.0001311/0.1237, allocations: 181.3 kB / 295.6 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.1237, allocations: 51.81 kB / 295.7 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.1241, allocations: 254.1 kB / 295.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1241, allocations: 5.344 kB / 295.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1241, allocations: 3.312 kB / 295.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1241, allocations: 6.047 kB / 295.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.1249, allocations: 0.7338 MB / 296.7 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1249, allocations: 1.984 kB / 296.7 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.1252, allocations: 79.86 kB / 296.8 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-05/0.1253, allocations: 29.34 kB / 296.8 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1253, allocations: 8.625 kB / 296.8 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000162/0.1255, allocations: 0.8106 MB / 297.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1255, allocations: 3.328 kB / 297.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.1259, allocations: 485.7 kB / 298.1 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.1259, allocations: 35.23 kB / 298.1 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.1259, allocations: 12.11 kB / 298.1 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1261, allocations: 9.141 kB / 298.1 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.1261, allocations: 26.92 kB / 298.2 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1261, allocations: 13.02 kB / 298.2 MB, free: 19.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1263, allocations: 226.8 kB / 298.4 MB, free: 19.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1263, allocations: 0 / 298.4 MB, free: 19.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004634/0.1267, allocations: 119.3 kB / 298.5 MB, free: 19.35 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.0001368/0.1269, allocations: 125 kB / 298.6 MB, free: 19.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.1272, allocations: 218.7 kB / 298.8 MB, free: 19.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1272, allocations: 3.938 kB / 298.9 MB, free: 19.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1273, allocations: 106 kB / 299 MB, free: 19.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1278, allocations: 81.48 kB / 299 MB, free: 19.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1296, allocations: 1.368 MB / 300.4 MB, free: 18.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.1298, allocations: 147.2 kB / 300.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.1299, allocations: 49.19 kB / 300.6 MB, free: 18.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.13, allocations: 137.9 kB / 300.7 MB, free: 18.22 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.13, allocations: 0 / 300.7 MB, free: 18.22 MB / 266.7 MB Notification: Performance of Templates: time 0.00888/0.1389, allocations: 3.873 MB / 304.6 MB, free: 17.65 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.667132773902267]