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.001316/0.001316, allocations: 81.72 kB / 20.68 MB, free: 1.035 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.001372/0.001372, allocations: 164.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.452/1.452, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.202/0.202, allocations: 32.82 MB / 293.5 MB, free: 36 kB / 270.1 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.714e-06/1.714e-06, allocations: 0 / 440.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.873e-05, allocations: 6.219 kB / 440.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007175/0.007203, allocations: 5.138 MB / 445.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004144/0.01135, allocations: 2.263 MB / 447.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.01196, allocations: 59.5 kB / 447.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.0125, allocations: 226 kB / 447.7 MB, free: 492 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.01292, allocations: 198.1 kB / 447.9 MB, free: 292 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1895/0.2024, allocations: 468.1 kB / 448.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.2038, allocations: 1.137 MB / 449.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006836/0.2045, allocations: 399.4 kB / 449.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007622/0.2053, allocations: 0.5605 MB / 450.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.2057, allocations: 276.6 kB / 450.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.2058, allocations: 95.81 kB / 450.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.2061, allocations: 160.6 kB / 451 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.2063, allocations: 217.8 kB / 451.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.2067, allocations: 308.5 kB / 451.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.2081, allocations: 1.286 MB / 452.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.2081, allocations: 5.344 kB / 452.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2081, allocations: 0 / 452.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.2082, allocations: 0.5156 kB / 452.8 MB, free: 14.77 MB / 366.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.001619/0.2098, allocations: 1.068 MB / 453.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2098, allocations: 10.05 kB / 453.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.2101, allocations: 121.6 kB / 454 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.211, allocations: 0.5236 MB / 454.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.211, allocations: 67.03 kB / 454.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2111, allocations: 93.02 kB / 454.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.2126, allocations: 0.8907 MB / 455.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.2127, allocations: 11.36 kB / 455.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.2127, allocations: 41.12 kB / 455.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.2128, allocations: 23.72 kB / 455.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2138, allocations: 0.5237 MB / 456.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.2168, allocations: 3.203 MB / 459.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.2173, allocations: 204.5 kB / 459.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.2175, allocations: 94.22 kB / 459.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.2176, allocations: 25.66 kB / 459.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2176, allocations: 32.91 kB / 459.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.2176, allocations: 4 kB / 459.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002189/0.2198, allocations: 1.168 MB / 460.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2199, allocations: 56.12 kB / 460.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.2203, allocations: 412.4 kB / 461.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.2203, allocations: 32.17 kB / 461.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.2205, allocations: 478.5 kB / 461.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.54e-05/0.2206, allocations: 140.8 kB / 462 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2207, allocations: 96.22 kB / 462.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.2208, allocations: 362.5 kB / 462.4 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.221, allocations: 112.2 kB / 462.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.2213, allocations: 308.3 kB / 462.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.2218, allocations: 466.2 kB / 463.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2218, allocations: 1.875 kB / 463.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007888/0.2226, allocations: 0.5147 MB / 463.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.2226, allocations: 14.25 kB / 463.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2226, allocations: 5.75 kB / 463.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.2228, allocations: 44.36 kB / 463.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.2232, allocations: 126.3 kB / 464 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002789/0.2235, allocations: 0.5521 MB / 464.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.2237, allocations: 22.67 kB / 464.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.2238, allocations: 25.5 kB / 464.6 MB, free: 7 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.0002745/0.224, allocations: 231.1 kB / 464.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.2241, allocations: 54.61 kB / 464.9 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007413/0.2249, allocations: 334.6 kB / 465.2 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2249, allocations: 2.969 kB / 465.2 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.2249, allocations: 6.406 kB / 465.2 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.2249, allocations: 1.969 kB / 465.2 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.2265, allocations: 0.8782 MB / 466.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2265, allocations: 1.156 kB / 466.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.2269, allocations: 81.22 kB / 466.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.227, allocations: 29.81 kB / 466.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.227, allocations: 10.94 kB / 466.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000226/0.2272, allocations: 0.5601 MB / 466.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2272, allocations: 5.438 kB / 466.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.2279, allocations: 0.5589 MB / 467.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.228, allocations: 41.52 kB / 467.4 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.2281, allocations: 8.266 kB / 467.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.2282, allocations: 12.97 kB / 467.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.2283, allocations: 28.94 kB / 467.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.2283, allocations: 14 kB / 467.4 MB, free: 5.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.2286, allocations: 271.2 kB / 467.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2286, allocations: 1.094 kB / 467.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000601/0.2292, allocations: 127.6 kB / 467.8 MB, free: 5.008 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.0001677/0.2294, allocations: 118.8 kB / 468 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006374/0.23, allocations: 315.8 kB / 468.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.23, allocations: 4.125 kB / 468.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.2303, allocations: 133 kB / 468.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.2308, allocations: 76.77 kB / 468.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.233, allocations: 1.458 MB / 469.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.2334, allocations: 367.1 kB / 470.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.2336, allocations: 60.55 kB / 470.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.19e-05/0.2337, allocations: 45 kB / 470.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2337, allocations: 0 / 470.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of Templates: time 0.01032/0.244, allocations: 3.919 MB / 474.3 MB, free: 2.93 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.786721967160702]