Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001073/0.001073, allocations: 76.81 kB / 22.28 MB, free: 2.207 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.001004/0.001004, allocations: 163.3 kB / 25.7 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9298/0.9298, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.835e-05, allocations: 6.312 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005761/0.00579, allocations: 5.593 MB / 257.2 MB, free: 1.586 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.008819, allocations: 1.741 MB / 258.9 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005839/0.009403, allocations: 43.69 kB / 259 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.009792, allocations: 241.4 kB / 259.2 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.01017, allocations: 249.3 kB / 259.4 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.01099, allocations: 0.507 MB / 259.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000939/0.01192, allocations: 1.422 MB / 261.4 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.01241, allocations: 428.2 kB / 261.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006146/0.01303, allocations: 0.7328 MB / 262.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.01334, allocations: 338.8 kB / 262.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.01345, allocations: 124 kB / 263 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.01363, allocations: 140 kB / 263.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.01377, allocations: 271 kB / 263.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.01402, allocations: 394.9 kB / 263.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007668/0.01478, allocations: 0.9376 MB / 264.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.01479, allocations: 3.984 kB / 264.7 MB, free: 10 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01479, allocations: 0 / 264.7 MB, free: 10 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.0148, allocations: 0 / 264.7 MB, free: 10 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.001147/0.01595, allocations: 1.407 MB / 266.1 MB, free: 8.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.01598, allocations: 8.031 kB / 266.1 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.01613, allocations: 187.9 kB / 266.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.01677, allocations: 0.5704 MB / 266.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.01682, allocations: 90.41 kB / 267 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.423e-05/0.01692, allocations: 123.9 kB / 267.1 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.01782, allocations: 1.08 MB / 268.2 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.01785, allocations: 3.938 kB / 268.2 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.0179, allocations: 52 kB / 268.2 MB, free: 6.246 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.01792, allocations: 32 kB / 268.2 MB, free: 6.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.0183, allocations: 357.5 kB / 268.6 MB, free: 5.863 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.02155, allocations: 5.841 MB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.02188, allocations: 161 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.02202, allocations: 118.1 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.614e-05/0.02209, allocations: 12 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.02212, allocations: 34.55 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.02212, allocations: 0 / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001088/0.02321, allocations: 0.719 MB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.02324, allocations: 89.11 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.02362, allocations: 0.6166 MB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.02364, allocations: 33.7 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.02391, allocations: 0.6207 MB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.02397, allocations: 123 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.02408, allocations: 146.5 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.0242, allocations: 402.5 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.02427, allocations: 57.97 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.02452, allocations: 484.2 kB / 278 MB, free: 11.78 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.0005286/0.02505, allocations: 0.655 MB / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.02506, allocations: 4 kB / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005327/0.02559, allocations: 0.5454 MB / 279.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.02561, allocations: 15.98 kB / 279.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.02563, allocations: 16 kB / 279.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.02579, allocations: 69.69 kB / 279.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.02614, allocations: 207.9 kB / 279.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.02757, allocations: 2.766 MB / 282.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.02777, allocations: 35.94 kB / 282.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.0278, allocations: 40.06 kB / 282.4 MB, free: 7.043 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,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.02798, allocations: 177.6 kB / 282.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.02804, allocations: 51.94 kB / 282.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.02811, allocations: 66.36 kB / 282.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02811, allocations: 4 kB / 282.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.02812, allocations: 0 / 282.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.02812, allocations: 11.92 kB / 282.7 MB, free: 6.723 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.0008139/0.02894, allocations: 0.7162 MB / 283.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02894, allocations: 0 / 283.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.02914, allocations: 80.08 kB / 283.5 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.02925, allocations: 49.61 kB / 283.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.02927, allocations: 16.08 kB / 283.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.03054, allocations: 2.542 MB / 286.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.03055, allocations: 4 kB / 286.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.03091, allocations: 449.1 kB / 286.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.03096, allocations: 67.47 kB / 286.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.03099, allocations: 4 kB / 286.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.03111, allocations: 12 kB / 286.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.03116, allocations: 31.89 kB / 286.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.03117, allocations: 11.92 kB / 286.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.03137, allocations: 276.5 kB / 286.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03137, allocations: 0 / 286.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000607/0.03198, allocations: 152 kB / 287.1 MB, free: 2.09 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.0001368/0.03211, allocations: 104.1 kB / 287.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.03273, allocations: 0.5412 MB / 287.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2e-05/0.03275, allocations: 14.5 kB / 287.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.033, allocations: 326.1 kB / 288 MB, free: 1.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.03339, allocations: 75.3 kB / 288.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.03566, allocations: 1.62 MB / 289.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.0358, allocations: 178 kB / 289.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.03598, allocations: 86.02 kB / 290 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.03618, allocations: 155.3 kB / 290.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of SimCode: time 1.983e-06/0.03619, allocations: 0 / 290.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of Templates: time 0.0114/0.04759, allocations: 5.838 MB / 296 MB, free: 9.094 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.811871539801359]