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.0009087/0.0009087, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002327, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009792/0.0009792, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001181/0.00216, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9896/0.9896, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08615/1.076, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.824e-06/1.824e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.404e-05, allocations: 2.312 kB / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.01507/0.01508, allocations: 5.695 MB / 250.3 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.01838, allocations: 1.795 MB / 252 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.0188, allocations: 43.69 kB / 252.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.01914, allocations: 249.5 kB / 252.3 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.01952, allocations: 249.3 kB / 252.6 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.0202, allocations: 0.5226 MB / 253.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.02127, allocations: 1.402 MB / 254.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.02177, allocations: 428.3 kB / 254.9 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000768/0.02254, allocations: 0.7724 MB / 255.7 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.02285, allocations: 346.8 kB / 256 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.02295, allocations: 120 kB / 256.1 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.02313, allocations: 144 kB / 256.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.02328, allocations: 211.2 kB / 256.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.02353, allocations: 335.2 kB / 256.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.02421, allocations: 0.8792 MB / 257.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.02422, allocations: 4 kB / 257.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.02422, allocations: 0 / 257.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.02425, allocations: 0 / 257.7 MB, free: 1.051 MB / 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.001354/0.0256, allocations: 1.661 MB / 259.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.02563, allocations: 11.98 kB / 259.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.02591, allocations: 284.9 kB / 259.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.02656, allocations: 0.5781 MB / 260.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.02661, allocations: 90.41 kB / 260.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.0267, allocations: 123.9 kB / 260.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.02754, allocations: 1.072 MB / 261.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.02757, allocations: 7.938 kB / 261.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.02762, allocations: 56 kB / 261.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.02764, allocations: 32 kB / 261.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.028, allocations: 353.6 kB / 262 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.03103, allocations: 5.861 MB / 267.8 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.03133, allocations: 157 kB / 268 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.03147, allocations: 117.6 kB / 268.1 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/0.03153, allocations: 8 kB / 268.1 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.03155, allocations: 34.56 kB / 268.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.03156, allocations: 0 / 268.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009282/0.03248, allocations: 0.7114 MB / 268.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.03251, allocations: 81.11 kB / 268.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.03289, allocations: 0.6321 MB / 269.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.03292, allocations: 29.7 kB / 269.6 MB, free: 4.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.03321, allocations: 0.6168 MB / 270.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.03327, allocations: 131 kB / 270.3 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.03339, allocations: 146.5 kB / 270.5 MB, free: 3.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.03351, allocations: 398.5 kB / 270.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.03357, allocations: 57.97 kB / 270.9 MB, free: 3.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.03381, allocations: 492.2 kB / 271.4 MB, free: 2.43 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.0004875/0.0343, allocations: 0.6666 MB / 272.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.0343, allocations: 8 kB / 272.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004755/0.03478, allocations: 0.5461 MB / 272.6 MB, free: 1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.0348, allocations: 12 kB / 272.6 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.03481, allocations: 12 kB / 272.6 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.03496, allocations: 77.66 kB / 272.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.03532, allocations: 211.9 kB / 272.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.03669, allocations: 2.774 MB / 275.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.03687, allocations: 31.94 kB / 275.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.0369, allocations: 44.05 kB / 275.8 MB, free: 13.67 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.0001572/0.03705, allocations: 170 kB / 275.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.03711, allocations: 55.94 kB / 276 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.167e-05/0.03717, allocations: 74.34 kB / 276.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.03718, allocations: 4 kB / 276.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.03718, allocations: 0 / 276.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.03719, allocations: 3.938 kB / 276.1 MB, free: 13.36 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.0007007/0.03789, allocations: 0.724 MB / 276.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.03789, allocations: 0 / 276.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.03814, allocations: 86.98 kB / 276.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.03818, allocations: 63.48 kB / 276.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-05/0.03828, allocations: 49.78 kB / 277 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.0383, allocations: 7.938 kB / 277 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.03941, allocations: 2.55 MB / 279.5 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.03941, allocations: 3.938 kB / 279.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.03971, allocations: 455.1 kB / 280 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.03974, allocations: 8 kB / 280 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.03986, allocations: 15.98 kB / 280 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.0399, allocations: 27.95 kB / 280 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.03991, allocations: 11.94 kB / 280.1 MB, free: 9.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.04011, allocations: 276.5 kB / 280.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04011, allocations: 0 / 280.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.04056, allocations: 156 kB / 280.5 MB, free: 8.695 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 9.428e-05/0.04065, allocations: 96.23 kB / 280.6 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.04111, allocations: 0.545 MB / 281.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.489e-05/0.04114, allocations: 22.48 kB / 281.1 MB, free: 8.008 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.04133, allocations: 318.2 kB / 281.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.04163, allocations: 115.4 kB / 281.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.04482, allocations: 1.818 MB / 283.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.04495, allocations: 198 kB / 283.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.0451, allocations: 82.03 kB / 283.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.04526, allocations: 163.3 kB / 283.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04526, allocations: 0 / 283.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of Templates: time 0.1077/0.1529, allocations: 6.033 MB / 289.8 MB, free: 31.38 MB / 282.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 -emit_protected -ignoreHideResult -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.8368674544617534]