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.001831/0.001831, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001829/0.001829, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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.51/1.51, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 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 1.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.093e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008191/0.008222, allocations: 5.639 MB / 273 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.01181, allocations: 1.632 MB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.01236, allocations: 43.69 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.0129, allocations: 249.3 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005523/0.01345, allocations: 237.5 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.01455, allocations: 0.4993 MB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.01633, allocations: 1.426 MB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007617/0.01709, allocations: 424.2 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.01811, allocations: 0.725 MB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.01862, allocations: 346.7 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.0188, allocations: 120 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.01906, allocations: 136 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.01932, allocations: 274.9 kB / 279.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.01977, allocations: 391 kB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.02177, allocations: 1.631 MB / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.02177, allocations: 0 / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02177, allocations: 0 / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.0218, allocations: 4 kB / 281.1 MB, free: 8.918 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.002739/0.02453, allocations: 1.618 MB / 282.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.02458, allocations: 12.92 kB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.02492, allocations: 247.1 kB / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.0262, allocations: 0.7408 MB / 283.7 MB, free: 6.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.606e-05/0.0263, allocations: 90.41 kB / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.02647, allocations: 127.9 kB / 283.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.02884, allocations: 1.488 MB / 285.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.02888, allocations: 15.88 kB / 285.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/0.02898, allocations: 52 kB / 285.4 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.02902, allocations: 32 kB / 285.5 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.03038, allocations: 0.6618 MB / 286.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1454/0.1758, allocations: 8.878 MB / 295 MB, free: 25.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.1765, allocations: 271.1 kB / 295.3 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.1768, allocations: 165.8 kB / 295.4 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.912e-05/0.1769, allocations: 9.891 kB / 295.5 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.177, allocations: 42.02 kB / 295.5 MB, free: 24.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/0.177, allocations: 0.5312 kB / 295.5 MB, free: 24.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002256/0.1792, allocations: 1.292 MB / 296.8 MB, free: 24.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1792, allocations: 81.38 kB / 296.9 MB, free: 24.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.1802, allocations: 0.9054 MB / 297.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1802, allocations: 26.92 kB / 297.8 MB, free: 23.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.1806, allocations: 0.7971 MB / 298.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/0.1806, allocations: 129.8 kB / 298.7 MB, free: 22.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.1809, allocations: 174.8 kB / 298.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.181, allocations: 0.6059 MB / 299.5 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.1813, allocations: 142.2 kB / 299.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.1818, allocations: 0.7448 MB / 300.4 MB, free: 21.45 MB / 266.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.0009527/0.1827, allocations: 1.012 MB / 301.4 MB, free: 20.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.1827, allocations: 5.828 kB / 301.4 MB, free: 20.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001263/0.184, allocations: 0.8329 MB / 302.2 MB, free: 20.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.184, allocations: 12.03 kB / 302.2 MB, free: 20.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.184, allocations: 14.31 kB / 302.3 MB, free: 20.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.1843, allocations: 92.09 kB / 302.4 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.1849, allocations: 188.8 kB / 302.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.1869, allocations: 4.301 MB / 306.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.1874, allocations: 30.69 kB / 306.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.1874, allocations: 48.2 kB / 306.9 MB, free: 15.84 MB / 266.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,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003995/0.1878, allocations: 314.8 kB / 307.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1879, allocations: 92.89 kB / 307.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.1881, allocations: 73.81 kB / 307.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1881, allocations: 3.438 kB / 307.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.1881, allocations: 1.219 kB / 307.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1881, allocations: 3.297 kB / 307.4 MB, free: 15.49 MB / 266.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.001909/0.19, allocations: 1.376 MB / 308.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.19, allocations: 1.219 kB / 308.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.1903, allocations: 63.86 kB / 308.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.1905, allocations: 65.23 kB / 308.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1905, allocations: 11.8 kB / 308.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.1922, allocations: 3.933 MB / 312.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1922, allocations: 5.672 kB / 312.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008588/0.1931, allocations: 0.7404 MB / 313.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1932, allocations: 69.47 kB / 313.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.1933, allocations: 7.469 kB / 313.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.1935, allocations: 14.86 kB / 313.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.1936, allocations: 25.41 kB / 313.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1936, allocations: 11.16 kB / 313.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006926/0.1943, allocations: 0.512 MB / 314.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1943, allocations: 0 / 314.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001094/0.1954, allocations: 159.1 kB / 314.4 MB, free: 9.859 MB / 266.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.0001302/0.1955, allocations: 106.5 kB / 314.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.1967, allocations: 0.7993 MB / 315.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1967, allocations: 0 / 315.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.1971, allocations: 484.7 kB / 315.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.1976, allocations: 81.38 kB / 315.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.2003, allocations: 1.774 MB / 317.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.2007, allocations: 460.5 kB / 318.1 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.2009, allocations: 86.83 kB / 318.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/0.201, allocations: 57.95 kB / 318.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of SimCode: time 1.904e-06/0.201, allocations: 0 / 318.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of Templates: time 0.01088/0.2119, allocations: 5.279 MB / 323.5 MB, free: 3.074 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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.763281950959936]