Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002169/0.002169, allocations: 76.77 kB / 19.93 MB, free: 1.762 MB / 14.72 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.003086/0.003086, allocations: 172 kB / 23.22 MB, free: 4.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 158.6 MB / 185 MB, free: 6.375 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2291/0.2291, allocations: 32.37 MB / 269.6 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 407.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.405e-05, allocations: 6.219 kB / 407.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.0088/0.008834, allocations: 5.129 MB / 412.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006848/0.01568, allocations: 2.236 MB / 414.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.01701, allocations: 55.56 kB / 414.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.01765, allocations: 233.9 kB / 415 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.01829, allocations: 190.1 kB / 415.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.01986, allocations: 466.7 kB / 415.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.02178, allocations: 1.137 MB / 416.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.02276, allocations: 405.9 kB / 417.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.02391, allocations: 0.5536 MB / 417.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.02437, allocations: 275.1 kB / 418 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.02452, allocations: 96 kB / 418.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.02497, allocations: 151.8 kB / 418.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.02531, allocations: 219.2 kB / 418.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.02575, allocations: 311.2 kB / 418.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.0275, allocations: 1.277 MB / 420 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.0275, allocations: 0 / 420 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.02751, allocations: 4 kB / 420 MB, free: 4.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.02752, allocations: 4 kB / 420 MB, free: 4.051 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002074/0.0296, allocations: 1.066 MB / 421.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.02965, allocations: 8.031 kB / 421.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.02985, allocations: 112.2 kB / 421.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.03092, allocations: 0.5223 MB / 421.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.031, allocations: 70.12 kB / 421.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.03113, allocations: 92 kB / 421.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.0328, allocations: 0.8892 MB / 422.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.03284, allocations: 7.953 kB / 422.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-05/0.03292, allocations: 36 kB / 422.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.03295, allocations: 24 kB / 422.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.03408, allocations: 0.5268 MB / 423.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.03832, allocations: 3.198 MB / 426.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.03896, allocations: 203.2 kB / 426.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.03917, allocations: 96.83 kB / 426.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.03929, allocations: 15.98 kB / 426.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.03933, allocations: 38.5 kB / 426.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.356e-06/0.03933, allocations: 0 / 426.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002613/0.04195, allocations: 1.165 MB / 428.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.04205, allocations: 63.33 kB / 428.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.04254, allocations: 409.8 kB / 428.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.04257, allocations: 29.7 kB / 428.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/0.04314, allocations: 475.5 kB / 429 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.04326, allocations: 142.8 kB / 429.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.04342, allocations: 102.3 kB / 429.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.04362, allocations: 362.7 kB / 429.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.04386, allocations: 121.2 kB / 429.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.04427, allocations: 311 kB / 430.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.04497, allocations: 452.6 kB / 430.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.04497, allocations: 0 / 430.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008991/0.04587, allocations: 0.5165 MB / 431 MB, free: 8.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.04589, allocations: 11.81 kB / 431 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.0459, allocations: 4 kB / 431 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.04613, allocations: 44.83 kB / 431.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.04654, allocations: 131.8 kB / 431.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005369/0.04708, allocations: 0.564 MB / 431.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.0473, allocations: 16 kB / 431.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.04735, allocations: 27.98 kB / 431.8 MB, free: 7.684 MB / 366.1 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.0004309/0.04778, allocations: 233.6 kB / 432 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.0479, allocations: 47.67 kB / 432.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/0.04863, allocations: 334.9 kB / 432.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.04864, allocations: 4 kB / 432.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.04865, allocations: 0 / 432.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.04866, allocations: 7.922 kB / 432.4 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.05017, allocations: 0.8781 MB / 433.3 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.05018, allocations: 0 / 433.3 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.05062, allocations: 84.06 kB / 433.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.05075, allocations: 28.84 kB / 433.4 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.05079, allocations: 15.98 kB / 433.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006365/0.05142, allocations: 0.5484 MB / 434 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.05143, allocations: 7.969 kB / 434 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009536/0.05238, allocations: 0.5413 MB / 434.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.05246, allocations: 51.59 kB / 434.6 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.05251, allocations: 16.06 kB / 434.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.05268, allocations: 12 kB / 434.6 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.05275, allocations: 19.95 kB / 434.6 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.05278, allocations: 12 kB / 434.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003697/0.05315, allocations: 271.1 kB / 434.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05315, allocations: 0 / 434.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.05373, allocations: 127.9 kB / 435 MB, free: 4.324 MB / 366.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.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.000268/0.054, allocations: 123.1 kB / 435.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.05469, allocations: 323.3 kB / 435.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.05469, allocations: 1.688 kB / 435.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.05497, allocations: 129 kB / 435.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.05554, allocations: 82.27 kB / 435.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.05833, allocations: 1.439 MB / 437.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.05876, allocations: 363.8 kB / 437.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001893/0.05894, allocations: 64.47 kB / 437.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.05906, allocations: 48.48 kB / 437.6 MB, free: 1.684 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.05906, allocations: 192 / 437.6 MB, free: 1.684 MB / 366.1 MB Notification: Performance of Templates: time 0.01157/0.07062, allocations: 3.916 MB / 441.5 MB, free: 13.82 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.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: 5.86474297195673]