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.001043/0.001043, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.001221/0.001221, allocations: 163 kB / 24.99 MB, free: 9.273 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 1.034/1.034, allocations: 177 MB / 205.2 MB, free: 5.59 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.3042/0.3042, allocations: 34.87 MB / 296.6 MB, free: 0.543 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 1.693e-06/1.693e-06, allocations: 0 / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.262e-05/3.431e-05, allocations: 8.641 kB / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007402/0.007436, allocations: 5.569 MB / 384.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006675/0.01411, allocations: 2.29 MB / 386.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005342/0.01464, allocations: 63.5 kB / 386.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.01504, allocations: 233.9 kB / 386.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.01535, allocations: 190.1 kB / 387.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007093/0.01606, allocations: 474.7 kB / 387.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007678/0.01683, allocations: 1.137 MB / 388.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.01728, allocations: 409.9 kB / 389.1 MB, free: 8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.01776, allocations: 0.5613 MB / 389.6 MB, free: 7.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.01803, allocations: 287.1 kB / 389.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.01811, allocations: 92 kB / 390 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.01829, allocations: 167.8 kB / 390.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01842, allocations: 219.2 kB / 390.4 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.01862, allocations: 315.2 kB / 390.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.01925, allocations: 0.747 MB / 391.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01926, allocations: 0 / 391.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01926, allocations: 0 / 391.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.01927, allocations: 4 kB / 391.4 MB, free: 5.625 MB / 362.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.001028/0.02029, allocations: 1.177 MB / 392.6 MB, free: 4.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.02033, allocations: 8.031 kB / 392.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.02057, allocations: 188.3 kB / 392.8 MB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.02115, allocations: 0.5602 MB / 393.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.02119, allocations: 78.12 kB / 393.4 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.02127, allocations: 88 kB / 393.5 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.02212, allocations: 0.756 MB / 394.3 MB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.02215, allocations: 7.953 kB / 394.3 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.02219, allocations: 40 kB / 394.3 MB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.02221, allocations: 20 kB / 394.3 MB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.02268, allocations: 319.5 kB / 394.7 MB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.02511, allocations: 4.067 MB / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.02551, allocations: 159.7 kB / 398.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.0256, allocations: 63.66 kB / 398.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.698e-05/0.02569, allocations: 23.98 kB / 399 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.02571, allocations: 37.33 kB / 399 MB, free: 13.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.02571, allocations: 4 kB / 399 MB, free: 13.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.00135/0.02706, allocations: 1.014 MB / 400 MB, free: 12.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.02709, allocations: 55.41 kB / 400.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.02738, allocations: 446.5 kB / 400.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.0274, allocations: 29.7 kB / 400.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.02764, allocations: 0.5216 MB / 401.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.02775, allocations: 138.8 kB / 401.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.02787, allocations: 99.95 kB / 401.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.02804, allocations: 0.5352 MB / 401.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/0.02814, allocations: 69.27 kB / 401.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.02835, allocations: 334.4 kB / 402.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.02868, allocations: 450.8 kB / 402.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.02868, allocations: 4 kB / 402.7 MB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004419/0.02913, allocations: 448 kB / 403.1 MB, free: 9.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.02914, allocations: 8 kB / 403.1 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.02915, allocations: 8 kB / 403.1 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.0293, allocations: 32.42 kB / 403.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.02952, allocations: 127.8 kB / 403.3 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003157/0.02984, allocations: 0.8194 MB / 404.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.02994, allocations: 16 kB / 404.1 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.02997, allocations: 28 kB / 404.1 MB, free: 8.16 MB / 378.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.000137/0.03011, allocations: 188.4 kB / 404.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.03016, allocations: 59.67 kB / 404.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.0305, allocations: 269.8 kB / 404.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.0305, allocations: 8.031 kB / 404.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.03051, allocations: 0 / 404.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.03051, allocations: 3.984 kB / 404.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/0.03132, allocations: 0.8793 MB / 405.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.03133, allocations: 4 kB / 405.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.03154, allocations: 83.89 kB / 405.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.287e-05/0.03163, allocations: 31.7 kB / 405.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.03165, allocations: 12.16 kB / 405.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002675/0.03191, allocations: 0.8039 MB / 406.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.03192, allocations: 3.938 kB / 406.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.03233, allocations: 0.5185 MB / 407 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.03237, allocations: 47.61 kB / 407 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.0324, allocations: 8 kB / 407 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.03248, allocations: 8 kB / 407.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.03252, allocations: 27.95 kB / 407.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.03254, allocations: 8.031 kB / 407.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.0327, allocations: 287 kB / 407.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0327, allocations: 0 / 407.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.03301, allocations: 120 kB / 407.5 MB, free: 4.645 MB / 378.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.0001344/0.03314, allocations: 127 kB / 407.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.0335, allocations: 266.7 kB / 407.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03351, allocations: 0 / 407.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.03363, allocations: 115.6 kB / 408 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.03398, allocations: 70.88 kB / 408.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.03581, allocations: 1.457 MB / 409.5 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.03592, allocations: 157.7 kB / 409.7 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.03603, allocations: 60.48 kB / 409.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.03609, allocations: 44.48 kB / 409.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.0361, allocations: 0 / 409.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of Templates: time 0.00705/0.04315, allocations: 3.947 MB / 413.7 MB, free: 14.4 MB / 394.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",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.4241574050392956]