Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008813/0.0008813, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004167/0.004167, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8987/0.8987, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2569/0.2569, allocations: 34.25 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.255e-05/4.521e-05, allocations: 5.094 kB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.2434/0.2434, allocations: 5.142 MB / 448.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.2465, allocations: 2.256 MB / 450.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.2476, allocations: 57.47 kB / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.2481, allocations: 233 kB / 451.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.2485, allocations: 184.7 kB / 451.3 MB, free: 39.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009572/0.2495, allocations: 482.6 kB / 451.7 MB, free: 39.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.2503, allocations: 1.139 MB / 452.9 MB, free: 39.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.2508, allocations: 403.4 kB / 453.3 MB, free: 38.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006147/0.2515, allocations: 0.5632 MB / 453.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.2517, allocations: 274.7 kB / 454.1 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.2518, allocations: 96.53 kB / 454.2 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.252, allocations: 158.5 kB / 454.3 MB, free: 38.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2521, allocations: 219.1 kB / 454.6 MB, free: 38.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.2523, allocations: 300 kB / 454.8 MB, free: 38.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008571/0.2531, allocations: 1.293 MB / 456.1 MB, free: 37.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2531, allocations: 0 / 456.1 MB, free: 37.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2531, allocations: 0 / 456.1 MB, free: 37.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.2532, allocations: 0 / 456.1 MB, free: 37.61 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.00108/0.2542, allocations: 1.084 MB / 457.2 MB, free: 36.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.2543, allocations: 8.844 kB / 457.2 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.2545, allocations: 116.2 kB / 457.3 MB, free: 36.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.2552, allocations: 0.5191 MB / 457.9 MB, free: 36.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.2552, allocations: 76.06 kB / 457.9 MB, free: 36.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.2553, allocations: 85.78 kB / 458 MB, free: 36.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008901/0.2562, allocations: 0.8915 MB / 458.9 MB, free: 35.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.2562, allocations: 12.28 kB / 458.9 MB, free: 35.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.2563, allocations: 39.31 kB / 459 MB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.2563, allocations: 22.69 kB / 459 MB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006179/0.2569, allocations: 0.5227 MB / 459.5 MB, free: 35.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.2589, allocations: 3.204 MB / 462.7 MB, free: 33.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.2594, allocations: 207.6 kB / 462.9 MB, free: 33.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2595, allocations: 96.06 kB / 463 MB, free: 33.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.2596, allocations: 23.89 kB / 463 MB, free: 33.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.2596, allocations: 41.75 kB / 463.1 MB, free: 32.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.535e-06/0.2596, allocations: 4 kB / 463.1 MB, free: 32.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001522/0.2611, allocations: 1.149 MB / 464.2 MB, free: 32.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2612, allocations: 58.44 kB / 464.3 MB, free: 32.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.2614, allocations: 413.9 kB / 464.7 MB, free: 32.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2614, allocations: 32.61 kB / 464.7 MB, free: 31.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.2616, allocations: 477.8 kB / 465.2 MB, free: 31.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.2616, allocations: 146.7 kB / 465.3 MB, free: 31.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/0.2617, allocations: 96.67 kB / 465.4 MB, free: 31.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.2618, allocations: 363.5 kB / 465.8 MB, free: 31.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2619, allocations: 114.9 kB / 465.9 MB, free: 31.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.2621, allocations: 315.9 kB / 466.2 MB, free: 30.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.2625, allocations: 459.2 kB / 466.7 MB, free: 30.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2625, allocations: 0 / 466.7 MB, free: 30.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004972/0.263, allocations: 0.5181 MB / 467.2 MB, free: 30.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.263, allocations: 9.281 kB / 467.2 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.263, allocations: 6.719 kB / 467.2 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.2632, allocations: 37.84 kB / 467.2 MB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2634, allocations: 123.1 kB / 467.3 MB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002125/0.2636, allocations: 0.56 MB / 467.9 MB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2637, allocations: 17.75 kB / 467.9 MB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.2637, allocations: 27.09 kB / 467.9 MB, free: 29.59 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.0002278/0.264, allocations: 235.3 kB / 468.2 MB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.264, allocations: 49.89 kB / 468.2 MB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.2644, allocations: 329.9 kB / 468.5 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2644, allocations: 3.25 kB / 468.5 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2644, allocations: 3.219 kB / 468.6 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2644, allocations: 3.891 kB / 468.6 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.2653, allocations: 0.8792 MB / 469.4 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.2653, allocations: 6.172 kB / 469.4 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2655, allocations: 74.59 kB / 469.5 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.2656, allocations: 35.22 kB / 469.5 MB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2657, allocations: 7.188 kB / 469.6 MB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000158/0.2658, allocations: 0.5548 MB / 470.1 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2658, allocations: 3.25 kB / 470.1 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.2662, allocations: 0.5518 MB / 470.7 MB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.2663, allocations: 46.2 kB / 470.7 MB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.2663, allocations: 14.64 kB / 470.7 MB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.2664, allocations: 7.094 kB / 470.7 MB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.2665, allocations: 23.58 kB / 470.8 MB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.2665, allocations: 13.58 kB / 470.8 MB, free: 27.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002187/0.2667, allocations: 269.9 kB / 471 MB, free: 27.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2667, allocations: 0 / 471 MB, free: 27.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004369/0.2671, allocations: 132.9 kB / 471.2 MB, free: 27.57 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.0001965/0.2673, allocations: 124.2 kB / 471.3 MB, free: 27.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.2677, allocations: 321.2 kB / 471.6 MB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2677, allocations: 128 / 471.6 MB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.2679, allocations: 136.2 kB / 471.7 MB, free: 27.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.2683, allocations: 83.55 kB / 471.8 MB, free: 27.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.2699, allocations: 1.492 MB / 473.3 MB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.2701, allocations: 364 kB / 473.7 MB, free: 26.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.2702, allocations: 52.16 kB / 473.7 MB, free: 26.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2702, allocations: 3.938 kB / 473.7 MB, free: 26.2 MB / 410.7 MB Notification: Performance of Templates: time 0.01065/0.2808, allocations: 11.66 MB / 485.4 MB, free: 24.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.303805035538971]