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.001432/0.001432, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006018/0.006018, allocations: 163.2 kB / 24.7 MB, free: 9.426 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.8904/0.8904, allocations: 177.2 MB / 205 MB, free: 5.723 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.2604/0.2604, allocations: 32.78 MB / 294.2 MB, free: 1.199 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.844e-06/1.844e-06, allocations: 0 / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.04e-05, allocations: 2.281 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.1973/0.1973, allocations: 5.141 MB / 446 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.2013, allocations: 2.267 MB / 448.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.2025, allocations: 55.78 kB / 448.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.2029, allocations: 234.8 kB / 448.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.2034, allocations: 185.7 kB / 448.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.2049, allocations: 483.8 kB / 449.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.2059, allocations: 1.142 MB / 450.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/0.2064, allocations: 394.5 kB / 450.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007525/0.2072, allocations: 0.5667 MB / 451.3 MB, free: 41.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.2076, allocations: 276.4 kB / 451.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.2077, allocations: 94.09 kB / 451.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.208, allocations: 154.9 kB / 451.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2081, allocations: 221.7 kB / 452 MB, free: 41.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.2083, allocations: 306.4 kB / 452.3 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2094, allocations: 1.284 MB / 453.6 MB, free: 40.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2094, allocations: 4 kB / 453.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2094, allocations: 0 / 453.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.178e-05/0.2095, allocations: 2.875 kB / 453.6 MB, free: 40.38 MB / 410.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.001638/0.2111, allocations: 1.08 MB / 454.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.2111, allocations: 8.781 kB / 454.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.2114, allocations: 117.8 kB / 454.8 MB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.2124, allocations: 0.5139 MB / 455.3 MB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.2124, allocations: 74.78 kB / 455.4 MB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2125, allocations: 90.81 kB / 455.5 MB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.2138, allocations: 0.8857 MB / 456.3 MB, free: 38.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.2138, allocations: 11.05 kB / 456.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.2139, allocations: 40.69 kB / 456.4 MB, free: 38.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.2139, allocations: 22.16 kB / 456.4 MB, free: 38.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.2147, allocations: 0.5304 MB / 456.9 MB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.2172, allocations: 3.202 MB / 460.1 MB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.2177, allocations: 202 kB / 460.3 MB, free: 35.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.2179, allocations: 100.6 kB / 460.4 MB, free: 35.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.218, allocations: 19.64 kB / 460.5 MB, free: 35.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.218, allocations: 41.81 kB / 460.5 MB, free: 35.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.416e-06/0.218, allocations: 4 kB / 460.5 MB, free: 35.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001802/0.2198, allocations: 1.143 MB / 461.6 MB, free: 35.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.2199, allocations: 57.53 kB / 461.7 MB, free: 35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.2202, allocations: 413.1 kB / 462.1 MB, free: 34.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2202, allocations: 32.89 kB / 462.1 MB, free: 34.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.2204, allocations: 483.8 kB / 462.6 MB, free: 34.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.2205, allocations: 141.3 kB / 462.7 MB, free: 34.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2206, allocations: 95.66 kB / 462.8 MB, free: 34.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.2207, allocations: 365.3 kB / 463.2 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.2209, allocations: 115.3 kB / 463.3 MB, free: 33.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.2211, allocations: 309.4 kB / 463.6 MB, free: 33.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.2214, allocations: 468.7 kB / 464.1 MB, free: 33.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2214, allocations: 0 / 464.1 MB, free: 33.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005212/0.222, allocations: 0.512 MB / 464.6 MB, free: 32.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.222, allocations: 6.812 kB / 464.6 MB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.222, allocations: 10.44 kB / 464.6 MB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.2222, allocations: 41.52 kB / 464.6 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.2225, allocations: 122.9 kB / 464.8 MB, free: 32.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002733/0.2227, allocations: 0.5601 MB / 465.3 MB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2229, allocations: 26.56 kB / 465.3 MB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.2229, allocations: 22.94 kB / 465.4 MB, free: 32.37 MB / 410.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.0003017/0.2232, allocations: 231.7 kB / 465.6 MB, free: 32.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.2233, allocations: 50.83 kB / 465.6 MB, free: 32.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000532/0.2238, allocations: 335.7 kB / 466 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2238, allocations: 6.719 kB / 466 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.2238, allocations: 0 / 466 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2238, allocations: 0 / 466 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/0.2248, allocations: 0.8837 MB / 466.9 MB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2248, allocations: 3.25 kB / 466.9 MB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.225, allocations: 75.64 kB / 466.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.2252, allocations: 35.64 kB / 467 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2252, allocations: 10.53 kB / 467 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001942/0.2254, allocations: 0.5522 MB / 467.5 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2254, allocations: 7.266 kB / 467.5 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.2259, allocations: 0.5582 MB / 468.1 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.226, allocations: 48.17 kB / 468.1 MB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.226, allocations: 9.812 kB / 468.2 MB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.2261, allocations: 10.64 kB / 468.2 MB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.2262, allocations: 26.34 kB / 468.2 MB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.2262, allocations: 9.562 kB / 468.2 MB, free: 30.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.2264, allocations: 270.2 kB / 468.5 MB, free: 30.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2264, allocations: 0 / 468.5 MB, free: 30.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000526/0.2269, allocations: 131.8 kB / 468.6 MB, free: 30.34 MB / 410.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.0002518/0.2272, allocations: 121.7 kB / 468.7 MB, free: 30.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.2276, allocations: 320 kB / 469 MB, free: 30.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2276, allocations: 0.5 kB / 469 MB, free: 30.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.2278, allocations: 135.3 kB / 469.2 MB, free: 30.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.2282, allocations: 74.41 kB / 469.2 MB, free: 30.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.2304, allocations: 1.492 MB / 470.7 MB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.2306, allocations: 369.4 kB / 471.1 MB, free: 28.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.2307, allocations: 52.23 kB / 471.1 MB, free: 28.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.924e-06/0.2307, allocations: 0 / 471.1 MB, free: 28.97 MB / 410.7 MB Notification: Performance of Templates: time 0.01526/0.246, allocations: 11.67 MB / 482.8 MB, free: 27.54 MB / 410.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=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: 5.284470385871828]