Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.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.001739/0.001739, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001775/0.001775, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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.503/1.503, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.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="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.91 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2967, allocations: 53.41 MB / 432.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007584/0.3043, allocations: 5.472 MB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004427/0.3087, allocations: 2.184 MB / 440.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009053/0.3096, allocations: 51.56 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.3102, allocations: 198.2 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.3108, allocations: 178.4 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.312, allocations: 422.8 kB / 440.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3133, allocations: 1.013 MB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007473/0.3141, allocations: 417.6 kB / 442.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005412/0.3146, allocations: 354.8 kB / 442.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.3151, allocations: 366.3 kB / 443.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.3152, allocations: 92 kB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.3155, allocations: 155.9 kB / 443.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.3157, allocations: 211.4 kB / 443.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.3161, allocations: 433.9 kB / 443.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3175, allocations: 1.203 MB / 445.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3175, allocations: 7.938 kB / 445.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3175, allocations: 0 / 445.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.3175, allocations: 0 / 445.1 MB, free: 10.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001574/0.3191, allocations: 0.9831 MB / 446.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3192, allocations: 8.031 kB / 446.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.3194, allocations: 100.4 kB / 446.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008744/0.3203, allocations: 460.3 kB / 446.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.3204, allocations: 66.38 kB / 446.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.3205, allocations: 96.25 kB / 446.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.322, allocations: 0.8087 MB / 447.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.322, allocations: 0 / 447.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/0.3221, allocations: 36 kB / 447.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.3221, allocations: 24 kB / 447.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3232, allocations: 499.6 kB / 448.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.3269, allocations: 2.773 MB / 451 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.3275, allocations: 210.2 kB / 451.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3277, allocations: 96.75 kB / 451.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.3278, allocations: 15.98 kB / 451.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3278, allocations: 35.06 kB / 451.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.3278, allocations: 8 kB / 451.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002628/0.3305, allocations: 1.109 MB / 452.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3305, allocations: 55.41 kB / 452.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.3309, allocations: 309.7 kB / 452.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.331, allocations: 33.7 kB / 452.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.3313, allocations: 415.7 kB / 453.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.3314, allocations: 134.9 kB / 453.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3316, allocations: 86.14 kB / 453.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3318, allocations: 354.7 kB / 453.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.332, allocations: 109 kB / 453.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.3324, allocations: 250 kB / 454.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.333, allocations: 400.6 kB / 454.5 MB, free: 172 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.333, allocations: 0 / 454.5 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008463/0.3339, allocations: 461.4 kB / 455 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3339, allocations: 6.188 kB / 455 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3339, allocations: 4 kB / 455 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.3342, allocations: 49.41 kB / 455 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.3345, allocations: 111.8 kB / 455.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006176/0.3351, allocations: 0.5562 MB / 455.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.3354, allocations: 16 kB / 455.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.3354, allocations: 24 kB / 455.7 MB, free: 14.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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.000434/0.3358, allocations: 217.6 kB / 456 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.3359, allocations: 39.83 kB / 456 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.3366, allocations: 326 kB / 456.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3366, allocations: 4 kB / 456.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.3366, allocations: 3.984 kB / 456.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3367, allocations: 0 / 456.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.3383, allocations: 0.9954 MB / 457.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3384, allocations: 4 kB / 457.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.3387, allocations: 79.89 kB / 457.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.3389, allocations: 28.84 kB / 457.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3389, allocations: 16 kB / 457.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003904/0.3393, allocations: 0.5564 MB / 458 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3393, allocations: 0 / 458 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.3401, allocations: 0.5409 MB / 458.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3401, allocations: 31.77 kB / 458.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.3402, allocations: 11.98 kB / 458.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.3403, allocations: 8 kB / 458.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.3404, allocations: 23.95 kB / 458.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.3404, allocations: 16 kB / 458.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.3407, allocations: 219.1 kB / 458.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3407, allocations: 4 kB / 458.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008631/0.3415, allocations: 116 kB / 459 MB, free: 11.55 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.phi,inertia2b.w,torqueToAngle2b.phi,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.0002467/0.3418, allocations: 123.1 kB / 459.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007047/0.3425, allocations: 299.7 kB / 459.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3425, allocations: 0 / 459.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.3428, allocations: 141.4 kB / 459.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.3433, allocations: 76.28 kB / 459.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.3462, allocations: 1.639 MB / 461.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.3468, allocations: 0.9249 MB / 462.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.3469, allocations: 31.44 kB / 462.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3469, allocations: 0 / 462.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01463/0.3615, allocations: 9.889 MB / 472.1 MB, free: 14.37 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.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: 8.147336798952892]