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.0009866/0.0009866, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.0009305/0.0009305, allocations: 167 kB / 25.61 MB, free: 8.445 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.9187/0.9187, allocations: 177 MB / 205.9 MB, free: 4.449 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.1798/0.1798, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.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.292e-06/1.292e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.69e-05, allocations: 7.016 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.003839/0.003856, allocations: 5.471 MB / 385.5 MB, free: 17.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.005777, allocations: 2.278 MB / 387.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.006085, allocations: 55.5 kB / 387.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.006396, allocations: 237.9 kB / 388 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.006601, allocations: 198.1 kB / 388.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.007151, allocations: 482.7 kB / 388.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.007678, allocations: 1.133 MB / 389.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.008049, allocations: 405.9 kB / 390.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.008403, allocations: 0.5691 MB / 390.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.008624, allocations: 287.1 kB / 391.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.92e-05/0.008693, allocations: 99.94 kB / 391.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.008839, allocations: 155.9 kB / 391.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.008943, allocations: 223.2 kB / 391.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.009126, allocations: 311.2 kB / 391.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.009662, allocations: 0.747 MB / 392.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.009665, allocations: 4 kB / 392.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.009666, allocations: 4 kB / 392.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.009672, allocations: 0 / 392.6 MB, free: 10.07 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.0007698/0.01044, allocations: 1.185 MB / 393.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.01047, allocations: 12.03 kB / 393.8 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.01065, allocations: 184.3 kB / 394 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.01108, allocations: 0.5525 MB / 394.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.01112, allocations: 82.12 kB / 394.6 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.01119, allocations: 87.95 kB / 394.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.0117, allocations: 0.7051 MB / 395.4 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.01173, allocations: 11.94 kB / 395.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.01176, allocations: 36 kB / 395.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.01177, allocations: 31.92 kB / 395.5 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.01204, allocations: 253.6 kB / 395.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.01365, allocations: 3.962 MB / 399.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.01389, allocations: 158.8 kB / 399.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.01394, allocations: 51.66 kB / 399.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/0.014, allocations: 19.98 kB / 399.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.01402, allocations: 41.39 kB / 399.9 MB, free: 2.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.01402, allocations: 0 / 399.9 MB, free: 2.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009363/0.01496, allocations: 0.8653 MB / 400.8 MB, free: 1.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.01498, allocations: 55.41 kB / 400.9 MB, free: 1.387 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.01515, allocations: 438.2 kB / 401.3 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01517, allocations: 33.7 kB / 401.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01529, allocations: 0.5138 MB / 401.8 MB, free: 392 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.01534, allocations: 146.7 kB / 402 MB, free: 244 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.0154, allocations: 107.9 kB / 402.1 MB, free: 128 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.01555, allocations: 0.539 MB / 402.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.01561, allocations: 49.25 kB / 402.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.01579, allocations: 331.7 kB / 403 MB, free: 15.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.01607, allocations: 430.5 kB / 403.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01608, allocations: 0 / 403.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003803/0.01646, allocations: 412.9 kB / 403.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01647, allocations: 8 kB / 403.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01648, allocations: 4.031 kB / 403.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.01659, allocations: 43.66 kB / 403.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.0168, allocations: 123.8 kB / 404 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005823/0.01738, allocations: 0.8155 MB / 404.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.01749, allocations: 23.98 kB / 404.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.01752, allocations: 20 kB / 404.9 MB, free: 13.06 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.0001392/0.01765, allocations: 188.4 kB / 405 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.01771, allocations: 59.67 kB / 405.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.01799, allocations: 263.2 kB / 405.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.01799, allocations: 7.938 kB / 405.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.018, allocations: 0 / 405.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.018, allocations: 0 / 405.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.01868, allocations: 0.7617 MB / 406.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01868, allocations: 4 kB / 406.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.01887, allocations: 76.05 kB / 406.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.365e-05/0.01895, allocations: 35.67 kB / 406.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01896, allocations: 8 kB / 406.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002521/0.01921, allocations: 0.8 MB / 407 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.01921, allocations: 7.875 kB / 407.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.01956, allocations: 0.4884 MB / 407.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.0196, allocations: 39.67 kB / 407.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.01963, allocations: 15.94 kB / 407.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.0197, allocations: 12.03 kB / 407.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.01974, allocations: 23.95 kB / 407.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.01975, allocations: 8 kB / 407.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.01988, allocations: 271 kB / 407.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01988, allocations: 0 / 407.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.02018, allocations: 128 kB / 408 MB, free: 9.727 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.00011/0.02029, allocations: 122.1 kB / 408.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.02056, allocations: 241.6 kB / 408.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.02056, allocations: 0 / 408.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.02066, allocations: 109 kB / 408.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.02098, allocations: 87.91 kB / 408.6 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.02242, allocations: 1.452 MB / 410 MB, free: 7.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.02251, allocations: 157.7 kB / 410.2 MB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.02262, allocations: 56.55 kB / 410.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.02276, allocations: 158.2 kB / 410.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02276, allocations: 0 / 410.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of Templates: time 0.007559/0.03032, allocations: 4.386 MB / 414.8 MB, free: 2.973 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: 3.1822532350197434]