Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001535/0.001535, allocations: 84.77 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.001953/0.001953, allocations: 165.3 kB / 23.96 MB, free: 4.164 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.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 34.27 MB / 294.9 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 442.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.731e-05, allocations: 6.281 kB / 442.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007272/0.0073, allocations: 5.155 MB / 447.8 MB, free: 264 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2177/0.225, allocations: 2.248 MB / 450 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008349/0.2258, allocations: 56.88 kB / 450.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.2264, allocations: 232.5 kB / 450.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.2269, allocations: 192.5 kB / 450.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.2282, allocations: 480.1 kB / 451 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.2294, allocations: 1.135 MB / 452.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006576/0.23, allocations: 398.2 kB / 452.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008203/0.2308, allocations: 0.5564 MB / 453.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.2313, allocations: 280.3 kB / 453.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.2314, allocations: 95.19 kB / 453.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.2317, allocations: 161.4 kB / 453.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.2319, allocations: 225.5 kB / 453.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.2323, allocations: 306.4 kB / 454.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.2341, allocations: 1.286 MB / 455.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.2341, allocations: 0 / 455.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2341, allocations: 0 / 455.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.2342, allocations: 1.594 kB / 455.4 MB, free: 12.71 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.001807/0.236, allocations: 1.076 MB / 456.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.236, allocations: 12.84 kB / 456.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.2363, allocations: 115.4 kB / 456.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008458/0.2372, allocations: 0.524 MB / 457.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.2372, allocations: 71.06 kB / 457.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.2374, allocations: 92.52 kB / 457.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.2389, allocations: 0.8883 MB / 458.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.2389, allocations: 9.125 kB / 458.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.239, allocations: 36.03 kB / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.239, allocations: 27.5 kB / 458.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.24, allocations: 0.5228 MB / 458.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.2434, allocations: 3.202 MB / 462 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.244, allocations: 201.8 kB / 462.2 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.2442, allocations: 99.17 kB / 462.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.2443, allocations: 16.73 kB / 462.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2443, allocations: 41.19 kB / 462.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.585e-06/0.2443, allocations: 0 / 462.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002512/0.2468, allocations: 1.161 MB / 463.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.2469, allocations: 55.61 kB / 463.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.2473, allocations: 421.3 kB / 463.9 MB, free: 7.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2473, allocations: 30.83 kB / 464 MB, free: 7.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.2476, allocations: 476 kB / 464.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.997e-05/0.2477, allocations: 142.1 kB / 464.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.2478, allocations: 99.97 kB / 464.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2479, allocations: 361.8 kB / 465 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.2482, allocations: 120.2 kB / 465.1 MB, free: 6.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.2485, allocations: 308.4 kB / 465.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/0.2491, allocations: 468.2 kB / 465.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2491, allocations: 2.219 kB / 465.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008627/0.2499, allocations: 0.5112 MB / 466.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.25, allocations: 9.031 kB / 466.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.25, allocations: 6.5 kB / 466.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.2502, allocations: 38.3 kB / 466.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.2506, allocations: 128.4 kB / 466.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003194/0.2509, allocations: 0.5575 MB / 467.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.2512, allocations: 22.45 kB / 467.2 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.2512, allocations: 25.2 kB / 467.2 MB, free: 4.719 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.000317/0.2516, allocations: 231.6 kB / 467.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.2516, allocations: 51.47 kB / 467.5 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.2523, allocations: 334.5 kB / 467.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2523, allocations: 3.188 kB / 467.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2523, allocations: 4.812 kB / 467.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.2523, allocations: 6.062 kB / 467.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.2537, allocations: 0.8796 MB / 468.7 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2537, allocations: 1.281 kB / 468.7 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.2541, allocations: 77.05 kB / 468.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.2542, allocations: 34.11 kB / 468.8 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.2543, allocations: 10.86 kB / 468.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000249/0.2545, allocations: 0.553 MB / 469.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2545, allocations: 5.344 kB / 469.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.2553, allocations: 0.5498 MB / 469.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.2553, allocations: 46.3 kB / 470 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.2554, allocations: 12.86 kB / 470 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2556, allocations: 8.953 kB / 470 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.2556, allocations: 24.42 kB / 470 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.2557, allocations: 10.8 kB / 470 MB, free: 2.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003048/0.256, allocations: 275.2 kB / 470.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.256, allocations: 1.031 kB / 470.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000671/0.2566, allocations: 126.3 kB / 470.4 MB, free: 2.699 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.0001818/0.2568, allocations: 123.6 kB / 470.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000688/0.2575, allocations: 326.5 kB / 470.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2575, allocations: 1.094 kB / 470.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.2578, allocations: 127.5 kB / 471 MB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.2584, allocations: 79.47 kB / 471.1 MB, free: 2.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.261, allocations: 1.454 MB / 472.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.2615, allocations: 368.1 kB / 472.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.2617, allocations: 59.53 kB / 472.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.2618, allocations: 41.12 kB / 473 MB, free: 1.352 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2618, allocations: 1.281 kB / 473 MB, free: 1.352 MB / 366.1 MB Notification: Performance of Templates: time 0.01083/0.2726, allocations: 3.927 MB / 476.9 MB, free: 64 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.023170486092567]