Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 169.5 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 273.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.455e-05, allocations: 5.266 kB / 273.5 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005433/0.005467, allocations: 5.639 MB / 279.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.008911, allocations: 1.785 MB / 281 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007099/0.009621, allocations: 39.69 kB / 281 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.01011, allocations: 245.5 kB / 281.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.01065, allocations: 249.3 kB / 281.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009212/0.01157, allocations: 0.5265 MB / 282 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.01268, allocations: 1.418 MB / 283.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.0132, allocations: 440.2 kB / 283.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008291/0.01403, allocations: 0.7289 MB / 284.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.01436, allocations: 354.7 kB / 284.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01446, allocations: 120 kB / 285 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.01466, allocations: 143.9 kB / 285.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.01479, allocations: 271 kB / 285.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.01503, allocations: 402.9 kB / 285.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008318/0.01586, allocations: 0.9375 MB / 286.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.01587, allocations: 0 / 286.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01587, allocations: 3.938 kB / 286.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.01588, allocations: 0 / 286.8 MB, free: 7.039 MB / 266.7 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.00123/0.01711, allocations: 1.411 MB / 288.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.01715, allocations: 11.98 kB / 288.2 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.01743, allocations: 203.8 kB / 288.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.01814, allocations: 0.5742 MB / 289 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.0182, allocations: 90.41 kB / 289.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.01832, allocations: 123.9 kB / 289.2 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.01943, allocations: 1.08 MB / 290.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.01946, allocations: 7.922 kB / 290.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.01952, allocations: 52 kB / 290.3 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.01954, allocations: 32 kB / 290.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.02005, allocations: 357.6 kB / 290.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.02395, allocations: 5.837 MB / 296.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.02434, allocations: 165.2 kB / 296.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.02451, allocations: 113.8 kB / 296.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.61e-05/0.02458, allocations: 12 kB / 296.8 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.0246, allocations: 34.56 kB / 296.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.134e-06/0.0246, allocations: 0 / 296.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001243/0.02585, allocations: 0.7075 MB / 297.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.02588, allocations: 81.11 kB / 297.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.02635, allocations: 0.636 MB / 298.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.02646, allocations: 29.7 kB / 298.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.02674, allocations: 0.6207 MB / 298.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.02681, allocations: 123 kB / 299.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.02694, allocations: 150.5 kB / 299.2 MB, free: 9.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.02707, allocations: 394.5 kB / 299.6 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.02715, allocations: 57.97 kB / 299.6 MB, free: 9.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.02745, allocations: 496.2 kB / 300.1 MB, free: 8.777 MB / 282.7 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.0005984/0.02804, allocations: 0.6682 MB / 300.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.02805, allocations: 8 kB / 300.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006456/0.0287, allocations: 0.5419 MB / 301.3 MB, free: 7.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.02872, allocations: 12 kB / 301.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.02874, allocations: 12 kB / 301.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.02893, allocations: 66.16 kB / 301.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.02937, allocations: 209.7 kB / 301.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.03099, allocations: 2.774 MB / 304.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.03127, allocations: 31.94 kB / 304.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.03131, allocations: 40 kB / 304.5 MB, free: 4.043 MB / 282.7 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,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.03151, allocations: 173.4 kB / 304.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.03159, allocations: 56.06 kB / 304.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.03167, allocations: 66.36 kB / 304.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.03168, allocations: 11.98 kB / 304.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.03168, allocations: 0 / 304.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.03169, allocations: 7.969 kB / 304.8 MB, free: 3.719 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.03273, allocations: 0.7162 MB / 305.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.03274, allocations: 0 / 305.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.03299, allocations: 79.88 kB / 305.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.03311, allocations: 57.75 kB / 305.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.03313, allocations: 8 kB / 305.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.03436, allocations: 2.547 MB / 308.2 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.03436, allocations: 64 / 308.2 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.03475, allocations: 452.1 kB / 308.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.03481, allocations: 63.47 kB / 308.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.03486, allocations: 16 kB / 308.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.03503, allocations: 15.98 kB / 308.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.03509, allocations: 27.95 kB / 308.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.0351, allocations: 7.938 kB / 308.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002413/0.03534, allocations: 280.5 kB / 309 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03534, allocations: 0 / 309 MB, free: 15.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007457/0.03609, allocations: 156 kB / 309.2 MB, free: 15.06 MB / 298.7 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.000158/0.03624, allocations: 84.36 kB / 309.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005831/0.03683, allocations: 0.5363 MB / 309.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.441e-05/0.03685, allocations: 21.94 kB / 309.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.0371, allocations: 321.9 kB / 310.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.03751, allocations: 75.28 kB / 310.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.0398, allocations: 1.626 MB / 311.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.03994, allocations: 178 kB / 312 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.04016, allocations: 86.02 kB / 312.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.04045, allocations: 155.3 kB / 312.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.04045, allocations: 0 / 312.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of Templates: time 0.01195/0.0524, allocations: 5.838 MB / 318.1 MB, free: 6.152 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/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: 2.8230483466759324]