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.001347/0.001347, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00136/0.00136, allocations: 170 kB / 24.91 MB, free: 9.191 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.9189/0.9189, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.257/0.257, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.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.734e-06/1.734e-06, allocations: 0 / 323.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.761e-05, allocations: 4.422 kB / 323.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007215/0.007242, allocations: 5.497 MB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005084/0.01233, allocations: 2.359 MB / 331 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.01351, allocations: 55.5 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.01419, allocations: 222 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006915/0.01488, allocations: 202 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.01627, allocations: 474.7 kB / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.01804, allocations: 1.142 MB / 333.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/0.01883, allocations: 417.9 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.01985, allocations: 0.5652 MB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.02035, allocations: 291.1 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.02051, allocations: 100 kB / 334.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.02081, allocations: 155.9 kB / 334.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.02104, allocations: 227.2 kB / 334.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.02129, allocations: 307.2 kB / 335.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007672/0.02205, allocations: 0.747 MB / 335.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.02206, allocations: 0 / 335.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02206, allocations: 0 / 335.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.02207, allocations: 0 / 335.9 MB, free: 12.96 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.0009863/0.02306, allocations: 1.061 MB / 337 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.02309, allocations: 16.02 kB / 337 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.0233, allocations: 144.8 kB / 337.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.02387, allocations: 471 kB / 337.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.02391, allocations: 70.12 kB / 337.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.641e-05/0.024, allocations: 95.94 kB / 337.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.02464, allocations: 0.6758 MB / 338.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.02467, allocations: 11.94 kB / 338.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.02471, allocations: 40 kB / 338.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.02472, allocations: 24 kB / 338.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.02505, allocations: 244.4 kB / 338.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.02716, allocations: 2.864 MB / 341.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.02746, allocations: 144 kB / 341.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.02752, allocations: 52.77 kB / 341.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.591e-05/0.02759, allocations: 23.98 kB / 341.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.02762, allocations: 30.56 kB / 341.8 MB, free: 6.754 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.394e-06/0.02762, allocations: 0 / 341.8 MB, free: 6.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001324/0.02894, allocations: 0.8132 MB / 342.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.02898, allocations: 55.41 kB / 342.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.02931, allocations: 391 kB / 343.1 MB, free: 5.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.02933, allocations: 33.7 kB / 343.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.02955, allocations: 424.5 kB / 343.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.02962, allocations: 142.8 kB / 343.7 MB, free: 4.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.02971, allocations: 102.2 kB / 343.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.02981, allocations: 366.7 kB / 344.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.02987, allocations: 45.28 kB / 344.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.03, allocations: 243.2 kB / 344.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.03025, allocations: 360.3 kB / 344.8 MB, free: 3.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.03026, allocations: 4 kB / 344.8 MB, free: 3.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003135/0.03057, allocations: 325.5 kB / 345.1 MB, free: 3.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.03059, allocations: 8.844 kB / 345.1 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.0306, allocations: 8 kB / 345.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.03074, allocations: 32.84 kB / 345.1 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.03096, allocations: 131.8 kB / 345.3 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002537/0.03122, allocations: 0.5327 MB / 345.8 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.03134, allocations: 20 kB / 345.8 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.03137, allocations: 20 kB / 345.8 MB, free: 2.434 MB / 314.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.0001618/0.03153, allocations: 152.5 kB / 346 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.03158, allocations: 35.97 kB / 346 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.03185, allocations: 217 kB / 346.2 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.03186, allocations: 7.938 kB / 346.2 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.03186, allocations: 0 / 346.2 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.03186, allocations: 3.984 kB / 346.2 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.03254, allocations: 0.5906 MB / 346.8 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03255, allocations: 0 / 346.8 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.03275, allocations: 76.05 kB / 346.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.685e-05/0.03284, allocations: 32.84 kB / 346.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.03285, allocations: 8 kB / 346.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001957/0.03305, allocations: 0.5289 MB / 347.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.03305, allocations: 11.97 kB / 347.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.03335, allocations: 378 kB / 347.9 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.03338, allocations: 39.67 kB / 347.9 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.03341, allocations: 12 kB / 347.9 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.03349, allocations: 15.97 kB / 347.9 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.03353, allocations: 19.95 kB / 347.9 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.03354, allocations: 12 kB / 348 MB, free: 192 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.03366, allocations: 160.7 kB / 348.1 MB, free: 28 kB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03366, allocations: 0 / 348.1 MB, free: 28 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.000349/0.03401, allocations: 124 kB / 348.2 MB, free: 15.9 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.0001346/0.03414, allocations: 99.36 kB / 348.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.03442, allocations: 237.9 kB / 348.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.03443, allocations: 8 kB / 348.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.03454, allocations: 99.09 kB / 348.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.03493, allocations: 74.56 kB / 348.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.0372, allocations: 1.307 MB / 350 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.03734, allocations: 153.7 kB / 350.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.03753, allocations: 63.38 kB / 350.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.03772, allocations: 131.3 kB / 350.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.03772, allocations: 4 kB / 350.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of Templates: time 0.01092/0.04863, allocations: 4.302 MB / 354.7 MB, free: 9.461 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: 2.87009657593444]