Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.0009731/0.0009731, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.002236, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007204/0.0007204, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.00175, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9443/0.9443, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08538/1.03, allocations: 53.88 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.239e-05, allocations: 9.406 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.009099/0.009112, allocations: 5.692 MB / 250.9 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005954/0.01507, allocations: 1.803 MB / 252.7 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.01673, allocations: 43.69 kB / 252.8 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.01715, allocations: 249.5 kB / 253 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.01759, allocations: 245.3 kB / 253.3 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.01847, allocations: 0.5187 MB / 253.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.01974, allocations: 1.406 MB / 255.2 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/0.02037, allocations: 428.2 kB / 255.6 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009399/0.02131, allocations: 0.7686 MB / 256.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.02174, allocations: 342.8 kB / 256.7 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.02189, allocations: 124 kB / 256.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.02214, allocations: 147.9 kB / 257 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.0223, allocations: 211.2 kB / 257.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.02261, allocations: 335.2 kB / 257.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009487/0.02355, allocations: 0.8869 MB / 258.4 MB, free: 312 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.02357, allocations: 0 / 258.4 MB, free: 312 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02357, allocations: 0 / 258.4 MB, free: 312 kB / 250.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.02359, allocations: 0 / 258.4 MB, free: 312 kB / 250.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.001866/0.02546, allocations: 1.653 MB / 260 MB, free: 14.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.02549, allocations: 12.61 kB / 260.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.02587, allocations: 285 kB / 260.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006638/0.02653, allocations: 0.582 MB / 260.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.02658, allocations: 86.41 kB / 261 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.02668, allocations: 119.9 kB / 261.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009161/0.02759, allocations: 1.076 MB / 262.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.02762, allocations: 11.89 kB / 262.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.02767, allocations: 52 kB / 262.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.02769, allocations: 35.98 kB / 262.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.02808, allocations: 349.6 kB / 262.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.03132, allocations: 5.857 MB / 268.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.03163, allocations: 169 kB / 268.7 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.03179, allocations: 113.6 kB / 268.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.016e-05/0.03185, allocations: 8 kB / 268.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.03187, allocations: 42.48 kB / 268.8 MB, free: 5.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.423e-06/0.03187, allocations: 0 / 268.8 MB, free: 5.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009843/0.03286, allocations: 0.7121 MB / 269.5 MB, free: 4.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.03289, allocations: 85.09 kB / 269.6 MB, free: 4.387 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.03349, allocations: 0.6283 MB / 270.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.03351, allocations: 29.7 kB / 270.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.03389, allocations: 0.6284 MB / 270.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.03399, allocations: 119 kB / 271 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.03416, allocations: 138.5 kB / 271.1 MB, free: 2.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.03435, allocations: 410.5 kB / 271.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.03446, allocations: 57.97 kB / 271.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.03486, allocations: 488.2 kB / 272.1 MB, free: 1.676 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.0008893/0.03575, allocations: 0.7153 MB / 272.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.03576, allocations: 4 kB / 272.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000862/0.03662, allocations: 0.5381 MB / 273.3 MB, free: 220 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.03664, allocations: 16.25 kB / 273.4 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.03667, allocations: 16 kB / 273.4 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.03689, allocations: 73.61 kB / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.03746, allocations: 211.7 kB / 273.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.03948, allocations: 2.775 MB / 276.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.03985, allocations: 31.94 kB / 276.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.03989, allocations: 36 kB / 276.5 MB, free: 12.89 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.0002303/0.04012, allocations: 189.4 kB / 276.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.04022, allocations: 47.95 kB / 276.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.215e-05/0.04031, allocations: 70.34 kB / 276.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.04031, allocations: 4 kB / 276.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.04032, allocations: 4 kB / 276.8 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.04033, allocations: 7.922 kB / 276.8 MB, free: 12.55 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.001154/0.04148, allocations: 0.7201 MB / 277.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.04149, allocations: 4.172 kB / 277.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.04179, allocations: 89.48 kB / 277.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.04187, allocations: 63.47 kB / 277.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.042, allocations: 49.69 kB / 277.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.04204, allocations: 11.94 kB / 277.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.0437, allocations: 2.554 MB / 280.3 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.0437, allocations: 4 kB / 280.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.04432, allocations: 451 kB / 280.7 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.04437, allocations: 12.06 kB / 280.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.04458, allocations: 12 kB / 280.8 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.04464, allocations: 27.95 kB / 280.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.04465, allocations: 11.92 kB / 280.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002778/0.04493, allocations: 276.5 kB / 281.1 MB, free: 8.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.04493, allocations: 0 / 281.1 MB, free: 8.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008358/0.04577, allocations: 156 kB / 281.2 MB, free: 7.891 MB / 282.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.0001391/0.04591, allocations: 92.34 kB / 281.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006968/0.0466, allocations: 0.5592 MB / 281.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.662e-05/0.04664, allocations: 17.81 kB / 281.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.04698, allocations: 329.9 kB / 282.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/0.04781, allocations: 0.6629 MB / 282.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/0.05342, allocations: 1.829 MB / 284.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.05361, allocations: 198 kB / 284.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.05385, allocations: 78.19 kB / 285 MB, free: 3.898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.05412, allocations: 167.3 kB / 285.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of SimCode: time 2.134e-06/0.05412, allocations: 0 / 285.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of Templates: time 0.1192/0.1733, allocations: 5.794 MB / 290.9 MB, free: 34.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8908053375780582]