Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 116.9 kB / 18.41 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 194.9 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 51.86 kB / 358.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1226, allocations: 49.44 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.01032/0.133, allocations: 5.422 MB / 413.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004185/0.1372, allocations: 2.067 MB / 415.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009715/0.1382, allocations: 35.81 kB / 415.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.1388, allocations: 210.2 kB / 415.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.1393, allocations: 170.5 kB / 416 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.1403, allocations: 391 kB / 416.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1414, allocations: 1.029 MB / 417.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000844/0.1423, allocations: 0.6103 MB / 418 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.1427, allocations: 334.8 kB / 418.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.1431, allocations: 362.3 kB / 418.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.1432, allocations: 92 kB / 418.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.1435, allocations: 155.9 kB / 418.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.1437, allocations: 199.4 kB / 419.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.1441, allocations: 434 kB / 419.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.1455, allocations: 1.183 MB / 420.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1455, allocations: 4 kB / 420.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1455, allocations: 0 / 420.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1455, allocations: 0 / 420.7 MB, free: 10.16 MB / 350.1 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.001581/0.1471, allocations: 1.052 MB / 421.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1472, allocations: 8.031 kB / 421.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1473, allocations: 92.38 kB / 421.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.1481, allocations: 0.5223 MB / 422.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.1482, allocations: 66.38 kB / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.1483, allocations: 88.33 kB / 422.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.1497, allocations: 0.8086 MB / 423.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.1497, allocations: 7.953 kB / 423.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.1498, allocations: 36 kB / 423.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.1498, allocations: 20 kB / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009571/0.1508, allocations: 0.4957 MB / 423.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.1541, allocations: 2.861 MB / 426.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.1547, allocations: 234.8 kB / 427 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.1549, allocations: 104.8 kB / 427.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.1551, allocations: 251.3 kB / 427.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1551, allocations: 34.56 kB / 427.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.1552, allocations: 0 / 427.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002467/0.1576, allocations: 1.269 MB / 428.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1577, allocations: 55.41 kB / 428.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.158, allocations: 312.5 kB / 429 MB, free: 1.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1581, allocations: 29.7 kB / 429.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.1584, allocations: 411.7 kB / 429.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1585, allocations: 134.8 kB / 429.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.1586, allocations: 94.2 kB / 429.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1588, allocations: 350.7 kB / 430 MB, free: 408 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.159, allocations: 105.1 kB / 430.1 MB, free: 300 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2353/0.3943, allocations: 247.3 kB / 430.4 MB, free: 22.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008043/0.3951, allocations: 394.6 kB / 430.8 MB, free: 22.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3952, allocations: 3.906 kB / 430.8 MB, free: 22.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001056/0.3962, allocations: 462.8 kB / 431.2 MB, free: 22.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.3963, allocations: 10 kB / 431.2 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3963, allocations: 2.844 kB / 431.2 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.3966, allocations: 39.11 kB / 431.3 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.397, allocations: 110.8 kB / 431.4 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002969/0.3973, allocations: 0.5545 MB / 431.9 MB, free: 22.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.3976, allocations: 16.77 kB / 431.9 MB, free: 22.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.3977, allocations: 19.62 kB / 432 MB, free: 22.09 MB / 350.1 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.0003994/0.3981, allocations: 220.9 kB / 432.2 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.3982, allocations: 42.81 kB / 432.2 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007778/0.399, allocations: 326.1 kB / 432.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.399, allocations: 4.656 kB / 432.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.399, allocations: 0 / 432.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3991, allocations: 1.781 kB / 432.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.401, allocations: 1.018 MB / 433.6 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.401, allocations: 3.469 kB / 433.6 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.4015, allocations: 74.83 kB / 433.6 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/0.4017, allocations: 35.84 kB / 433.7 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.4017, allocations: 12.92 kB / 433.7 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002381/0.402, allocations: 0.5579 MB / 434.2 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.402, allocations: 0 / 434.2 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.403, allocations: 0.5413 MB / 434.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.4031, allocations: 112.9 kB / 434.9 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.4031, allocations: 7.094 kB / 434.9 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.4034, allocations: 9.234 kB / 434.9 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.4035, allocations: 34.5 kB / 434.9 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.4035, allocations: 16.03 kB / 435 MB, free: 20.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003087/0.4038, allocations: 208 kB / 435.2 MB, free: 20.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4038, allocations: 0 / 435.2 MB, free: 20.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006178/0.4045, allocations: 124.2 kB / 435.3 MB, free: 20.67 MB / 350.1 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.000182/0.4047, allocations: 121.3 kB / 435.4 MB, free: 20.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008577/0.4055, allocations: 308 kB / 435.7 MB, free: 20.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4055, allocations: 0 / 435.7 MB, free: 20.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.4059, allocations: 139.2 kB / 435.8 MB, free: 20.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.4067, allocations: 63.48 kB / 435.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.4102, allocations: 1.643 MB / 437.5 MB, free: 19.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.4109, allocations: 0.9186 MB / 438.5 MB, free: 18.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.411, allocations: 34.95 kB / 438.5 MB, free: 18.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.284e-06/0.411, allocations: 0 / 438.5 MB, free: 18.88 MB / 350.1 MB Notification: Performance of Templates: time 0.02066/0.4317, allocations: 9.796 MB / 448.3 MB, free: 16.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.186739513999783]