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.0009875/0.0009875, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.001037/0.001037, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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.104/1.104, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] 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.1431/0.1431, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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 2.565e-06/2.565e-06, allocations: 0 / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.518e-05/3.774e-05, allocations: 2.312 kB / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.1853/0.1853, allocations: 5.464 MB / 304.5 MB, free: 17.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.1897, allocations: 2.351 MB / 306.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008647/0.1905, allocations: 53.03 kB / 306.9 MB, free: 16.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.191, allocations: 227.4 kB / 307.1 MB, free: 16.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.1915, allocations: 190.7 kB / 307.3 MB, free: 16.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1926, allocations: 469 kB / 307.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.1939, allocations: 1.131 MB / 308.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.1945, allocations: 409.2 kB / 309.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007829/0.1953, allocations: 0.5627 MB / 309.9 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.1958, allocations: 290.7 kB / 310.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1959, allocations: 94.94 kB / 310.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.1962, allocations: 156.8 kB / 310.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1964, allocations: 223.4 kB / 310.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.1967, allocations: 307.4 kB / 310.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009024/0.1976, allocations: 0.7419 MB / 311.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1976, allocations: 1.344 kB / 311.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1976, allocations: 0 / 311.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.435e-05/0.1976, allocations: 0 / 311.7 MB, free: 13.94 MB / 282.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.001293/0.1989, allocations: 1.059 MB / 312.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.199, allocations: 9.688 kB / 312.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.1992, allocations: 138.2 kB / 312.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.1998, allocations: 463.1 kB / 313.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.1998, allocations: 74.78 kB / 313.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/0.1999, allocations: 100.2 kB / 313.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/0.2007, allocations: 0.6778 MB / 314.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.2008, allocations: 16.02 kB / 314.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.2008, allocations: 36.25 kB / 314.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.2008, allocations: 23.38 kB / 314.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.2012, allocations: 241.4 kB / 314.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.2033, allocations: 2.861 MB / 317.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.2036, allocations: 151.1 kB / 317.5 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.2037, allocations: 48.92 kB / 317.5 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.331e-05/0.2037, allocations: 26.02 kB / 317.6 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.2038, allocations: 33.5 kB / 317.6 MB, free: 9.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.2038, allocations: 0 / 317.6 MB, free: 9.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001358/0.2051, allocations: 0.8102 MB / 318.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.2051, allocations: 54.62 kB / 318.5 MB, free: 9.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.2054, allocations: 383.6 kB / 318.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2054, allocations: 35.02 kB / 318.9 MB, free: 9.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2055, allocations: 437.4 kB / 319.3 MB, free: 8.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.2056, allocations: 147 kB / 319.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.2057, allocations: 99.14 kB / 319.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.2057, allocations: 367.8 kB / 319.9 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.2058, allocations: 40.52 kB / 319.9 MB, free: 8.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.2059, allocations: 241.5 kB / 320.2 MB, free: 7.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.2061, allocations: 348 kB / 320.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2061, allocations: 1.844 kB / 320.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003671/0.2065, allocations: 336.2 kB / 320.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2065, allocations: 7.375 kB / 320.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.2065, allocations: 9.469 kB / 320.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.2067, allocations: 33.09 kB / 320.9 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.207, allocations: 125.6 kB / 321 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001887/0.2071, allocations: 0.5364 MB / 321.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.2073, allocations: 16.44 kB / 321.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.2073, allocations: 19.84 kB / 321.6 MB, free: 6.805 MB / 282.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.0001498/0.2075, allocations: 159.4 kB / 321.7 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.2075, allocations: 35.09 kB / 321.8 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.2078, allocations: 211.3 kB / 322 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2078, allocations: 6.938 kB / 322 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2078, allocations: 0 / 322 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2078, allocations: 3.984 kB / 322 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006666/0.2084, allocations: 0.5919 MB / 322.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2084, allocations: 2.938 kB / 322.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2086, allocations: 80.05 kB / 322.7 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.2087, allocations: 28.84 kB / 322.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.2087, allocations: 12 kB / 322.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001524/0.2089, allocations: 0.5366 MB / 323.2 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2089, allocations: 3.938 kB / 323.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.2092, allocations: 378.3 kB / 323.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.2092, allocations: 47.66 kB / 323.7 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.2093, allocations: 8 kB / 323.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.2093, allocations: 15.97 kB / 323.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.2094, allocations: 27.89 kB / 323.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.2094, allocations: 8 kB / 323.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.905e-05/0.2095, allocations: 156.7 kB / 323.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2095, allocations: 0 / 323.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000362/0.2099, allocations: 128 kB / 324 MB, free: 4.598 MB / 282.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.0001452/0.21, allocations: 92.3 kB / 324.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.2103, allocations: 222 kB / 324.3 MB, free: 4.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.2103, allocations: 8 kB / 324.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.2104, allocations: 106.2 kB / 324.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.2107, allocations: 83.72 kB / 324.5 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2122, allocations: 1.279 MB / 325.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.2123, allocations: 157.7 kB / 325.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.2124, allocations: 61.66 kB / 326 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2125, allocations: 135.3 kB / 326.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of SimCode: time 1.173e-06/0.2125, allocations: 0 / 326.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of Templates: time 0.007879/0.2204, allocations: 4.305 MB / 330.4 MB, free: 14.17 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4077875427901745]