Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.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.001002/0.001002, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001056/0.001056, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.8958/0.8958, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 34.86 MB / 296.6 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.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="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.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="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.217e-05, allocations: 5.406 kB / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005035/0.005057, allocations: 5.487 MB / 331.4 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.008664, allocations: 2.368 MB / 333.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006782/0.009343, allocations: 59.5 kB / 333.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.009755, allocations: 221.9 kB / 334 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.01018, allocations: 198.1 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.01111, allocations: 478.7 kB / 334.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.01212, allocations: 1.142 MB / 335.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.01262, allocations: 409.9 kB / 336.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.01331, allocations: 0.573 MB / 336.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.01367, allocations: 287.1 kB / 337.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.01377, allocations: 96 kB / 337.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.01399, allocations: 159.8 kB / 337.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.01413, allocations: 227.2 kB / 337.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.01437, allocations: 311.2 kB / 337.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.01511, allocations: 0.7431 MB / 338.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01511, allocations: 0 / 338.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01511, allocations: 0 / 338.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.01513, allocations: 0 / 338.6 MB, free: 10.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001095/0.01622, allocations: 1.062 MB / 339.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.01626, allocations: 16.02 kB / 339.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.01649, allocations: 148.8 kB / 339.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.01709, allocations: 470.9 kB / 340.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.01713, allocations: 70.12 kB / 340.3 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.01723, allocations: 99.94 kB / 340.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.01796, allocations: 0.6715 MB / 341.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.018, allocations: 11.94 kB / 341.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.01804, allocations: 48 kB / 341.2 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.01805, allocations: 24 kB / 341.2 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.01839, allocations: 244.4 kB / 341.4 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.0207, allocations: 2.848 MB / 344.3 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.021, allocations: 147.1 kB / 344.4 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.02105, allocations: 48.84 kB / 344.5 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.02136, allocations: 19.98 kB / 344.5 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.02139, allocations: 38.56 kB / 344.5 MB, free: 4.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.02139, allocations: 0 / 344.5 MB, free: 4.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001141/0.02253, allocations: 0.8079 MB / 345.3 MB, free: 3.336 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.02256, allocations: 55.41 kB / 345.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.02279, allocations: 395 kB / 345.8 MB, free: 2.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.02281, allocations: 29.7 kB / 345.8 MB, free: 2.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.02313, allocations: 432.5 kB / 346.2 MB, free: 2.406 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.02322, allocations: 138.8 kB / 346.4 MB, free: 2.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.02332, allocations: 106.2 kB / 346.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.02344, allocations: 374.7 kB / 346.8 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.0235, allocations: 45.28 kB / 346.9 MB, free: 1.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.02367, allocations: 239.2 kB / 347.1 MB, free: 1.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.02398, allocations: 343.2 kB / 347.4 MB, free: 1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02398, allocations: 4 kB / 347.4 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004003/0.02438, allocations: 333.5 kB / 347.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.0244, allocations: 8.844 kB / 347.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.02441, allocations: 4 kB / 347.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.02454, allocations: 36.83 kB / 347.8 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.02483, allocations: 131.8 kB / 348 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002884/0.02512, allocations: 0.5367 MB / 348.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.02528, allocations: 16 kB / 348.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.02531, allocations: 20 kB / 348.5 MB, free: 15.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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.0001433/0.02545, allocations: 148.5 kB / 348.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.02551, allocations: 35.97 kB / 348.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.02581, allocations: 213 kB / 348.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.02582, allocations: 7.938 kB / 348.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.02582, allocations: 4 kB / 348.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.02583, allocations: 3.984 kB / 348.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007672/0.02659, allocations: 0.5921 MB / 349.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.0266, allocations: 0 / 349.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.02685, allocations: 83.89 kB / 349.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.6e-05/0.02693, allocations: 25 kB / 349.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.868e-05/0.02695, allocations: 8 kB / 349.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004233/0.02737, allocations: 0.5288 MB / 350.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.02738, allocations: 7.938 kB / 350.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.02774, allocations: 378 kB / 350.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.02778, allocations: 47.64 kB / 350.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.02782, allocations: 8 kB / 350.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.02792, allocations: 11.94 kB / 350.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.02797, allocations: 31.98 kB / 350.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.02798, allocations: 4 kB / 350.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.02811, allocations: 156.7 kB / 350.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02811, allocations: 0 / 350.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004291/0.02854, allocations: 131.9 kB / 350.9 MB, free: 13.36 MB / 330.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.y,inertia2b.w,torqueToAngle2b.y,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.0001428/0.02868, allocations: 93.84 kB / 351 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.02901, allocations: 239.1 kB / 351.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.02902, allocations: 8 kB / 351.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.02915, allocations: 102.3 kB / 351.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.0295, allocations: 76.58 kB / 351.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.03134, allocations: 1.296 MB / 352.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.03146, allocations: 153.7 kB / 352.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.03161, allocations: 63.59 kB / 352.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.03177, allocations: 123.3 kB / 353.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03177, allocations: 7.938 kB / 353.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of Templates: time 0.009293/0.04106, allocations: 4.296 MB / 357.4 MB, free: 6.938 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/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.799198490101844]