Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2669, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00805/0.275, allocations: 6.044 MB / 426.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.2784, allocations: 1.66 MB / 428.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00077/0.2792, allocations: 35.75 kB / 428.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007196/0.2799, allocations: 249.6 kB / 428.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000716/0.2806, allocations: 221.7 kB / 429.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2818, allocations: 0.507 MB / 429.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.2836, allocations: 1.387 MB / 431 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008749/0.2844, allocations: 446.4 kB / 431.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006793/0.2851, allocations: 482.1 kB / 431.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.2857, allocations: 0.4973 MB / 432.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.2859, allocations: 124 kB / 432.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.2861, allocations: 132 kB / 432.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.2864, allocations: 271 kB / 432.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.287, allocations: 0.61 MB / 433.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.2888, allocations: 1.633 MB / 435.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2888, allocations: 0 / 435.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2888, allocations: 0 / 435.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.2889, allocations: 0 / 435.1 MB, free: 0.7969 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002436/0.2913, allocations: 1.492 MB / 436.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2914, allocations: 8.031 kB / 436.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.2916, allocations: 151.1 kB / 436.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.2928, allocations: 0.7788 MB / 437.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.2929, allocations: 86.41 kB / 437.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.2931, allocations: 116 kB / 437.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.2952, allocations: 1.264 MB / 439 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.2952, allocations: 11.89 kB / 439 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.715e-05/0.2953, allocations: 56 kB / 439.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.2953, allocations: 32 kB / 439.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.2966, allocations: 0.689 MB / 439.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006391/0.303, allocations: 6.79 MB / 446.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.3037, allocations: 245.2 kB / 446.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.3041, allocations: 163.8 kB / 447 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.3042, allocations: 81.11 kB / 447.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.3042, allocations: 42.56 kB / 447.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.305e-06/0.3042, allocations: 0 / 447.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00271/0.3069, allocations: 1.421 MB / 448.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.307, allocations: 81.11 kB / 448.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/0.3078, allocations: 0.6609 MB / 449.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.3078, allocations: 33.7 kB / 449.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.3084, allocations: 0.6976 MB / 450 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3085, allocations: 127 kB / 450.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.3087, allocations: 142.5 kB / 450.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3089, allocations: 390.7 kB / 450.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.3092, allocations: 149.9 kB / 450.8 MB, free: 312 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/0.3098, allocations: 0.5506 MB / 451.4 MB, free: 15.55 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.311, allocations: 0.957 MB / 452.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.311, allocations: 11.94 kB / 452.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001319/0.3124, allocations: 0.7914 MB / 453.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3124, allocations: 16.03 kB / 453.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.3124, allocations: 16 kB / 453.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.3127, allocations: 81.62 kB / 453.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.3133, allocations: 183.7 kB / 453.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.3163, allocations: 3.321 MB / 456.7 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.3167, allocations: 39.98 kB / 456.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.3167, allocations: 44.06 kB / 456.8 MB, free: 9.574 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005203/0.3172, allocations: 277.3 kB / 457.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.3174, allocations: 75.48 kB / 457.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.3176, allocations: 70.42 kB / 457.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.3176, allocations: 4 kB / 457.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3176, allocations: 0 / 457.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3176, allocations: 3.984 kB / 457.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.3197, allocations: 1.254 MB / 458.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3197, allocations: 3.938 kB / 458.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.32, allocations: 67.98 kB / 458.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.3203, allocations: 61.67 kB / 458.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.3203, allocations: 8 kB / 458.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.3227, allocations: 3.057 MB / 461.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3227, allocations: 4.031 kB / 461.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.3237, allocations: 0.6317 MB / 462.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3238, allocations: 136.6 kB / 462.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.3239, allocations: 12.06 kB / 462.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.3241, allocations: 15.98 kB / 462.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.3242, allocations: 31.84 kB / 462.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3242, allocations: 15.98 kB / 462.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005568/0.3248, allocations: 427 kB / 462.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3248, allocations: 4 kB / 462.9 MB, free: 3.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009287/0.3257, allocations: 156 kB / 463.1 MB, free: 2.863 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001802/0.3259, allocations: 111.2 kB / 463.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.327, allocations: 0.625 MB / 463.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.327, allocations: 0 / 463.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.3275, allocations: 365.8 kB / 464.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.3281, allocations: 81.95 kB / 464.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.3317, allocations: 1.847 MB / 466.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.3324, allocations: 1.034 MB / 467.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002752/0.3327, allocations: 90 kB / 467.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3328, allocations: 59.42 kB / 467.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3328, allocations: 0 / 467.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of Templates: time 0.0136/0.3464, allocations: 5.828 MB / 473.1 MB, free: 8.746 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.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.660796449519694]