Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 106.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 194.3 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 48.06 kB / 369.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2758, allocations: 52.15 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.009359/0.2852, allocations: 5.458 MB / 426.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.2893, allocations: 2.075 MB / 428.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.2905, allocations: 43.75 kB / 428.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.2914, allocations: 206.2 kB / 429.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.2925, allocations: 178.4 kB / 429.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.2941, allocations: 410.8 kB / 429.6 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.296, allocations: 1.017 MB / 430.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.297, allocations: 425.1 kB / 431.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006738/0.2977, allocations: 346.9 kB / 431.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000637/0.2984, allocations: 370.3 kB / 431.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.2985, allocations: 92 kB / 431.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.2989, allocations: 147.9 kB / 432 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.2992, allocations: 211.4 kB / 432.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000551/0.2997, allocations: 430 kB / 432.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.3015, allocations: 1.192 MB / 433.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3016, allocations: 0 / 433.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3016, allocations: 0 / 433.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.3016, allocations: 0 / 433.8 MB, free: 2.566 MB / 334.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.001691/0.3033, allocations: 1.044 MB / 434.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3033, allocations: 12.03 kB / 434.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.3035, allocations: 92.38 kB / 435 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008315/0.3043, allocations: 0.5261 MB / 435.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.3044, allocations: 62.38 kB / 435.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.3045, allocations: 92.33 kB / 435.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.3061, allocations: 0.8008 MB / 436.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.3061, allocations: 15.94 kB / 436.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.3062, allocations: 35.94 kB / 436.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.3062, allocations: 20 kB / 436.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3072, allocations: 0.4918 MB / 437 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.3108, allocations: 2.861 MB / 439.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.3114, allocations: 216.1 kB / 440.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.3116, allocations: 93.27 kB / 440.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.3119, allocations: 247.3 kB / 440.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3119, allocations: 46.55 kB / 440.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.704e-06/0.3119, allocations: 0 / 440.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002728/0.3146, allocations: 1.262 MB / 441.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3147, allocations: 59.34 kB / 441.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.315, allocations: 308.4 kB / 442.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.3151, allocations: 33.7 kB / 442.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.3154, allocations: 407.8 kB / 442.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3155, allocations: 146.8 kB / 442.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3156, allocations: 86.2 kB / 442.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3158, allocations: 354.7 kB / 443.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.316, allocations: 105.1 kB / 443.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.3163, allocations: 246.7 kB / 443.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.317, allocations: 392.8 kB / 443.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.317, allocations: 3.984 kB / 443.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007487/0.3177, allocations: 461.5 kB / 444.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3177, allocations: 4 kB / 444.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3177, allocations: 8 kB / 444.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.318, allocations: 36.78 kB / 444.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.3183, allocations: 107.9 kB / 444.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004983/0.3188, allocations: 0.5682 MB / 445 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.319, allocations: 16.06 kB / 445 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.319, allocations: 24 kB / 445 MB, free: 6.734 MB / 350.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.0003233/0.3194, allocations: 216.9 kB / 445.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.3194, allocations: 35.77 kB / 445.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006577/0.3201, allocations: 333.4 kB / 445.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3201, allocations: 7.938 kB / 445.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3201, allocations: 0 / 445.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3201, allocations: 3.984 kB / 445.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.3216, allocations: 1.019 MB / 446.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3217, allocations: 4 kB / 446.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.322, allocations: 71.91 kB / 446.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.3222, allocations: 40.83 kB / 446.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.3222, allocations: 8 kB / 446.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003949/0.3226, allocations: 0.5484 MB / 447.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3226, allocations: 0 / 447.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.3234, allocations: 0.5454 MB / 447.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.3235, allocations: 112.9 kB / 448 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.3236, allocations: 12 kB / 448 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3237, allocations: 15.94 kB / 448 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.3238, allocations: 23.97 kB / 448 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.3238, allocations: 8 kB / 448 MB, free: 3.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002317/0.324, allocations: 215 kB / 448.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.324, allocations: 96 / 448.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005901/0.3246, allocations: 127.9 kB / 448.4 MB, free: 3.234 MB / 350.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.0002128/0.3248, allocations: 115.2 kB / 448.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006645/0.3255, allocations: 292.4 kB / 448.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3255, allocations: 256 / 448.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.3258, allocations: 139.8 kB / 448.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.3263, allocations: 61.44 kB / 448.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.3292, allocations: 1.642 MB / 450.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.3298, allocations: 0.9212 MB / 451.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.3299, allocations: 43.36 kB / 451.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3299, allocations: 192 / 451.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01422/0.3442, allocations: 9.858 MB / 461.4 MB, free: 6.094 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches