Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.967/0.967, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.139/0.139, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.133e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.003751/0.003763, allocations: 5.475 MB / 382.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.006484, allocations: 2.282 MB / 385 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.007043, allocations: 55.5 kB / 385.1 MB, free: 17.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.007349, allocations: 234 kB / 385.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.00766, allocations: 198 kB / 385.5 MB, free: 17.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.008355, allocations: 478.7 kB / 385.9 MB, free: 16.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.009029, allocations: 1.141 MB / 387.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.009444, allocations: 401.9 kB / 387.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.0099, allocations: 0.5691 MB / 388 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.01012, allocations: 291.1 kB / 388.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.01018, allocations: 96 kB / 388.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.01033, allocations: 151.9 kB / 388.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.01042, allocations: 219.2 kB / 388.8 MB, free: 14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.01057, allocations: 311.2 kB / 389.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.01105, allocations: 0.7626 MB / 389.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01106, allocations: 0 / 389.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01106, allocations: 0 / 389.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.01106, allocations: 0 / 389.8 MB, free: 12.93 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.0007233/0.01179, allocations: 1.181 MB / 391 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.468e-05/0.01181, allocations: 15.98 kB / 391 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.01199, allocations: 184.3 kB / 391.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.0124, allocations: 0.5603 MB / 391.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.01242, allocations: 70.12 kB / 391.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.01248, allocations: 91.95 kB / 391.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.01298, allocations: 0.7051 MB / 392.6 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.013, allocations: 7.953 kB / 392.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.01304, allocations: 36 kB / 392.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.01305, allocations: 24 kB / 392.7 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.01332, allocations: 265.5 kB / 393 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.01491, allocations: 3.958 MB / 396.9 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.01513, allocations: 156.7 kB / 397.1 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.01518, allocations: 55.66 kB / 397.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.01523, allocations: 19.98 kB / 397.2 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.01524, allocations: 37.39 kB / 397.2 MB, free: 5.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.132e-06/0.01524, allocations: 0 / 397.2 MB, free: 5.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008971/0.01614, allocations: 0.8642 MB / 398.1 MB, free: 4.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.314e-05/0.01615, allocations: 55.41 kB / 398.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.01632, allocations: 438.2 kB / 398.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.01633, allocations: 37.64 kB / 398.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.01646, allocations: 0.5177 MB / 399.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.01651, allocations: 146.7 kB / 399.2 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/0.01658, allocations: 111.9 kB / 399.3 MB, free: 2.973 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.01665, allocations: 0.5351 MB / 399.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.01669, allocations: 49.25 kB / 399.9 MB, free: 2.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.01681, allocations: 326.3 kB / 400.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.01702, allocations: 423.6 kB / 400.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01702, allocations: 0 / 400.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002905/0.01731, allocations: 416.6 kB / 401.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.01732, allocations: 12.16 kB / 401.1 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01733, allocations: 8 kB / 401.1 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.51e-05/0.01742, allocations: 35.66 kB / 401.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.01761, allocations: 123.8 kB / 401.2 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001923/0.0178, allocations: 0.8194 MB / 402.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.01791, allocations: 16 kB / 402.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.01793, allocations: 23.98 kB / 402.1 MB, free: 15.92 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.0001311/0.01806, allocations: 188.4 kB / 402.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.01812, allocations: 71.69 kB / 402.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.01838, allocations: 253.3 kB / 402.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01839, allocations: 7.938 kB / 402.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01839, allocations: 0 / 402.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01839, allocations: 0 / 402.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006884/0.01908, allocations: 0.7666 MB / 403.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01908, allocations: 8.156 kB / 403.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.01927, allocations: 79.89 kB / 403.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.046e-05/0.01934, allocations: 27.67 kB / 403.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01935, allocations: 8 kB / 403.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002477/0.0196, allocations: 0.8 MB / 404.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.0196, allocations: 7.875 kB / 404.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.01998, allocations: 499.1 kB / 404.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.02002, allocations: 39.67 kB / 404.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.02005, allocations: 19.97 kB / 404.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.02012, allocations: 8 kB / 404.9 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.02016, allocations: 27.95 kB / 404.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.02017, allocations: 7.938 kB / 404.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.02029, allocations: 271 kB / 405.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02029, allocations: 0 / 405.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.0206, allocations: 124 kB / 405.3 MB, free: 12.58 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.0001079/0.02071, allocations: 122.3 kB / 405.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.02098, allocations: 240.8 kB / 405.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.02098, allocations: 5.688 kB / 405.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.02109, allocations: 108.1 kB / 405.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.02139, allocations: 81.97 kB / 405.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.02288, allocations: 1.448 MB / 407.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.02297, allocations: 161.7 kB / 407.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.02308, allocations: 62.72 kB / 407.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.02321, allocations: 158.2 kB / 407.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02321, allocations: 4 kB / 407.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of Templates: time 0.007349/0.03056, allocations: 4.382 MB / 412 MB, free: 5.812 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.125174732878804]