Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001729/0.001729, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002094/0.002094, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.522/1.522, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.83 kB / 378.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2556, allocations: 53.31 MB / 432 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007419/0.2631, allocations: 5.492 MB / 437.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.2678, allocations: 2.169 MB / 439.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009106/0.2687, allocations: 39.75 kB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.2693, allocations: 202.2 kB / 439.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.2698, allocations: 174.4 kB / 440.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.271, allocations: 430.7 kB / 440.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.2723, allocations: 1.005 MB / 441.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000746/0.2731, allocations: 421.1 kB / 441.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005096/0.2736, allocations: 346.8 kB / 442.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.2741, allocations: 370.3 kB / 442.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2742, allocations: 92 kB / 442.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.2745, allocations: 155.9 kB / 442.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.2747, allocations: 203.4 kB / 443.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.2751, allocations: 434 kB / 443.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.2765, allocations: 1.2 MB / 444.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2765, allocations: 7.938 kB / 444.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2765, allocations: 0 / 444.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.2765, allocations: 0 / 444.7 MB, free: 10.69 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.001649/0.2781, allocations: 1.048 MB / 445.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2782, allocations: 8.031 kB / 445.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.2784, allocations: 100.4 kB / 445.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.2793, allocations: 0.5262 MB / 446.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.2794, allocations: 66.38 kB / 446.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2795, allocations: 96.25 kB / 446.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.281, allocations: 0.8047 MB / 447.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.281, allocations: 4 kB / 447.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.2811, allocations: 32 kB / 447.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.2811, allocations: 20 kB / 447.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.2821, allocations: 0.4957 MB / 447.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.2856, allocations: 2.865 MB / 450.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.2862, allocations: 206.7 kB / 451 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.2864, allocations: 105.2 kB / 451.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.2866, allocations: 251.3 kB / 451.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2867, allocations: 35.06 kB / 451.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.963e-06/0.2867, allocations: 4 kB / 451.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002583/0.2893, allocations: 1.267 MB / 452.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.2893, allocations: 51.41 kB / 452.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.2897, allocations: 317.6 kB / 453 MB, free: 1.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2897, allocations: 29.7 kB / 453 MB, free: 1.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.29, allocations: 411.7 kB / 453.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2902, allocations: 138.8 kB / 453.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2903, allocations: 90.2 kB / 453.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2904, allocations: 350.7 kB / 454 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.2907, allocations: 109.1 kB / 454.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.291, allocations: 250.7 kB / 454.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.2916, allocations: 396.7 kB / 454.7 MB, free: 76 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2916, allocations: 3.938 kB / 454.7 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007459/0.2923, allocations: 465.3 kB / 455.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2923, allocations: 4 kB / 455.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2923, allocations: 4 kB / 455.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.2926, allocations: 37.44 kB / 455.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.2929, allocations: 111.8 kB / 455.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004304/0.2934, allocations: 0.5562 MB / 455.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.2935, allocations: 15.98 kB / 455.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.2936, allocations: 24 kB / 455.9 MB, free: 14.83 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.0003035/0.2939, allocations: 221.6 kB / 456.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.2939, allocations: 39.83 kB / 456.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/0.2946, allocations: 318.2 kB / 456.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2946, allocations: 4 kB / 456.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2946, allocations: 0 / 456.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.2946, allocations: 0 / 456.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.2961, allocations: 1.02 MB / 457.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.2961, allocations: 4 kB / 457.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.2964, allocations: 75.89 kB / 457.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.2966, allocations: 32.84 kB / 457.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.2966, allocations: 12 kB / 457.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004154/0.297, allocations: 0.5563 MB / 458.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.297, allocations: 0 / 458.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008573/0.2979, allocations: 0.5529 MB / 458.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.298, allocations: 108.9 kB / 458.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.298, allocations: 8 kB / 458.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.2982, allocations: 11.98 kB / 458.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.2983, allocations: 23.97 kB / 458.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.2983, allocations: 16.09 kB / 458.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.2985, allocations: 219.1 kB / 459.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2985, allocations: 0 / 459.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005403/0.2991, allocations: 120 kB / 459.2 MB, free: 11.34 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.0001838/0.2992, allocations: 127.2 kB / 459.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006417/0.2999, allocations: 304.6 kB / 459.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2999, allocations: 0 / 459.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.3002, allocations: 133.1 kB / 459.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3007, allocations: 67.22 kB / 459.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.3033, allocations: 1.614 MB / 461.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.3039, allocations: 0.9171 MB / 462.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.3041, allocations: 43.34 kB / 462.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.3042, allocations: 35.44 kB / 462.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3042, allocations: 0 / 462.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of Templates: time 0.01016/0.3143, allocations: 4.05 MB / 466.5 MB, free: 4.016 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.676944681908935]