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.001566/0.001566, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.001686/0.001686, allocations: 168 kB / 23.76 MB, free: 4.461 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.483/1.483, allocations: 158.6 MB / 185.5 MB, free: 6.203 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.2552/0.2552, allocations: 32.38 MB / 270.1 MB, free: 2.695 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 67.91 kB / 407.7 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1556, allocations: 61.05 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.00737/0.1629, allocations: 5.121 MB / 473.9 MB, free: 3.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005773/0.1687, allocations: 2.248 MB / 476.2 MB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.1699, allocations: 55.5 kB / 476.2 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.1707, allocations: 226 kB / 476.4 MB, free: 0.625 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.1713, allocations: 186.2 kB / 476.6 MB, free: 452 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3315/0.5028, allocations: 456.8 kB / 477.1 MB, free: 44.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.5049, allocations: 1.105 MB / 478.2 MB, free: 44.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007248/0.5057, allocations: 395.5 kB / 478.5 MB, free: 44.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.5062, allocations: 372.3 kB / 478.9 MB, free: 44.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.5065, allocations: 352.2 kB / 479.3 MB, free: 43.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.5066, allocations: 95.03 kB / 479.3 MB, free: 43.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.5069, allocations: 149.1 kB / 479.5 MB, free: 43.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.5071, allocations: 215.9 kB / 479.7 MB, free: 43.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.5074, allocations: 369.9 kB / 480.1 MB, free: 43.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.5085, allocations: 1.287 MB / 481.4 MB, free: 43.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5085, allocations: 0.9688 kB / 481.4 MB, free: 43.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5085, allocations: 0 / 481.4 MB, free: 43.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.5085, allocations: 0 / 481.4 MB, free: 43.63 MB / 446.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.001347/0.5098, allocations: 1.087 MB / 482.4 MB, free: 43.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5099, allocations: 11.47 kB / 482.5 MB, free: 43.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.51, allocations: 107.2 kB / 482.6 MB, free: 43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.5108, allocations: 0.5131 MB / 483.1 MB, free: 42.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.5109, allocations: 65.31 kB / 483.1 MB, free: 42.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.511, allocations: 103 kB / 483.2 MB, free: 42.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.5122, allocations: 0.8889 MB / 484.1 MB, free: 42.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.5123, allocations: 10.5 kB / 484.1 MB, free: 42.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.5123, allocations: 37.38 kB / 484.2 MB, free: 42.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.5124, allocations: 22.91 kB / 484.2 MB, free: 42.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.5132, allocations: 0.5227 MB / 484.7 MB, free: 42.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.5159, allocations: 3.212 MB / 487.9 MB, free: 39.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.5165, allocations: 205.2 kB / 488.1 MB, free: 39.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.5166, allocations: 90.83 kB / 488.2 MB, free: 39.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.5168, allocations: 22.62 kB / 488.2 MB, free: 39.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.5168, allocations: 41.66 kB / 488.3 MB, free: 39.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.5168, allocations: 0 / 488.3 MB, free: 39.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.002227/0.519, allocations: 1.168 MB / 489.4 MB, free: 39.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.5191, allocations: 57.72 kB / 489.5 MB, free: 39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.5194, allocations: 410.5 kB / 489.9 MB, free: 38.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.5195, allocations: 32.98 kB / 489.9 MB, free: 38.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.5197, allocations: 482.7 kB / 490.4 MB, free: 38.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/0.5197, allocations: 139 kB / 490.5 MB, free: 38.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.5198, allocations: 96.69 kB / 490.6 MB, free: 38.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.5199, allocations: 364 kB / 491 MB, free: 37.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.5201, allocations: 116.2 kB / 491.1 MB, free: 37.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.5204, allocations: 310.9 kB / 491.4 MB, free: 37.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.5209, allocations: 452.8 kB / 491.9 MB, free: 37.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5209, allocations: 3.125 kB / 491.9 MB, free: 37.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007409/0.5217, allocations: 0.5202 MB / 492.4 MB, free: 37.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5217, allocations: 17.17 kB / 492.4 MB, free: 37.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.5217, allocations: 6.406 kB / 492.4 MB, free: 37.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.5219, allocations: 34.52 kB / 492.4 MB, free: 37.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.5223, allocations: 123.3 kB / 492.6 MB, free: 37.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003462/0.5226, allocations: 0.5616 MB / 493.1 MB, free: 36.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.5229, allocations: 17.25 kB / 493.1 MB, free: 36.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.5229, allocations: 27.03 kB / 493.2 MB, free: 36.47 MB / 446.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.0003064/0.5232, allocations: 229.4 kB / 493.4 MB, free: 36.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.5233, allocations: 54.27 kB / 493.4 MB, free: 36.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.5238, allocations: 329.3 kB / 493.8 MB, free: 36.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5238, allocations: 5.094 kB / 493.8 MB, free: 36.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.5238, allocations: 6.547 kB / 493.8 MB, free: 36.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.5238, allocations: 0 / 493.8 MB, free: 36.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.525, allocations: 0.8828 MB / 494.7 MB, free: 35.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.525, allocations: 3.469 kB / 494.7 MB, free: 35.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.5254, allocations: 73.41 kB / 494.7 MB, free: 35.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.5255, allocations: 34.12 kB / 494.8 MB, free: 35.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.5255, allocations: 17.58 kB / 494.8 MB, free: 35.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002395/0.5257, allocations: 0.5472 MB / 495.3 MB, free: 35.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5257, allocations: 3.188 kB / 495.3 MB, free: 35.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.5264, allocations: 0.562 MB / 495.9 MB, free: 34.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.5264, allocations: 43.3 kB / 495.9 MB, free: 34.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.5265, allocations: 14.67 kB / 495.9 MB, free: 34.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.5266, allocations: 14.19 kB / 496 MB, free: 34.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.5267, allocations: 21.86 kB / 496 MB, free: 34.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.5267, allocations: 12.91 kB / 496 MB, free: 34.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.5269, allocations: 273.9 kB / 496.3 MB, free: 34.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5269, allocations: 0 / 496.3 MB, free: 34.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005129/0.5274, allocations: 120 kB / 496.4 MB, free: 34.5 MB / 446.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.0001512/0.5276, allocations: 129.1 kB / 496.5 MB, free: 34.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.5281, allocations: 315.6 kB / 496.8 MB, free: 34.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5281, allocations: 0 / 496.8 MB, free: 34.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.5284, allocations: 134 kB / 496.9 MB, free: 34.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.5289, allocations: 76.88 kB / 497 MB, free: 34.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.5314, allocations: 1.635 MB / 498.7 MB, free: 33.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.5318, allocations: 365.1 kB / 499 MB, free: 33.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.5319, allocations: 63.36 kB / 499.1 MB, free: 33.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/0.532, allocations: 45.31 kB / 499.1 MB, free: 33.07 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.532, allocations: 1.125 kB / 499.1 MB, free: 33.07 MB / 446.1 MB Notification: Performance of Templates: time 0.01037/0.5424, allocations: 3.919 MB / 0.4912 GB, free: 32.52 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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.6899217769969255]