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.001154/0.001154, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.00109/0.00109, allocations: 169.9 kB / 25.33 MB, free: 9.465 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.9229/0.9229, allocations: 158.6 MB / 187.2 MB, free: 2.516 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.004e-06/2.004e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.765e-05, allocations: 2.312 kB / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007735/0.007762, allocations: 5.67 MB / 256.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004044/0.01181, allocations: 1.676 MB / 258.4 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007637/0.01257, allocations: 47.69 kB / 258.4 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.01316, allocations: 249.6 kB / 258.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007484/0.01391, allocations: 237.4 kB / 258.9 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.01521, allocations: 0.5148 MB / 259.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.01656, allocations: 1.426 MB / 260.9 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.01709, allocations: 424.2 kB / 261.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006896/0.01778, allocations: 0.7329 MB / 262 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.01815, allocations: 342.8 kB / 262.3 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.01827, allocations: 124 kB / 262.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.01845, allocations: 128 kB / 262.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.0186, allocations: 286.9 kB / 262.9 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.01887, allocations: 395 kB / 263.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008019/0.01968, allocations: 0.9375 MB / 264.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01968, allocations: 4 kB / 264.2 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01968, allocations: 0 / 264.2 MB, free: 6.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.0197, allocations: 0 / 264.2 MB, free: 6.344 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.001418/0.02111, allocations: 1.509 MB / 265.7 MB, free: 4.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.02115, allocations: 8.031 kB / 265.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.02136, allocations: 247.1 kB / 266 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007646/0.02213, allocations: 0.7292 MB / 266.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.02218, allocations: 94.34 kB / 266.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.02228, allocations: 127.9 kB / 266.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.02343, allocations: 1.231 MB / 268.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.02346, allocations: 3.938 kB / 268.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.02352, allocations: 56 kB / 268.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.02354, allocations: 32 kB / 268.2 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/0.02421, allocations: 454.8 kB / 268.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.02866, allocations: 8.409 MB / 277.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.02912, allocations: 206.2 kB / 277.3 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.02932, allocations: 135.2 kB / 277.4 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/0.02941, allocations: 12 kB / 277.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.02943, allocations: 37.39 kB / 277.5 MB, free: 8.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.02944, allocations: 0 / 277.5 MB, free: 8.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001515/0.03095, allocations: 1.143 MB / 278.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.031, allocations: 89.09 kB / 278.7 MB, free: 7.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.03152, allocations: 0.6709 MB / 279.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.03154, allocations: 33.7 kB / 279.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.03189, allocations: 0.7471 MB / 280.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.03196, allocations: 119 kB / 280.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.03209, allocations: 152.2 kB / 280.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.03229, allocations: 0.5547 MB / 281 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.0324, allocations: 81.88 kB / 281 MB, free: 4.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.03281, allocations: 0.6758 MB / 281.7 MB, free: 3.672 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.0007352/0.03355, allocations: 0.863 MB / 282.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.03356, allocations: 4 kB / 282.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007408/0.0343, allocations: 0.7036 MB / 283.3 MB, free: 1.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.03432, allocations: 15 kB / 283.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.03433, allocations: 20 kB / 283.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.03452, allocations: 71.34 kB / 283.4 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.03483, allocations: 183.7 kB / 283.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.03676, allocations: 4.13 MB / 287.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.03695, allocations: 35.98 kB / 287.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.03699, allocations: 40 kB / 287.8 MB, free: 13.08 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,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.03717, allocations: 212.3 kB / 288 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.03724, allocations: 95.47 kB / 288.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.0373, allocations: 74.36 kB / 288.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.03731, allocations: 3.938 kB / 288.2 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.03731, allocations: 4 kB / 288.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.03732, allocations: 3.984 kB / 288.2 MB, free: 12.68 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.0009527/0.03827, allocations: 1.076 MB / 289.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.03827, allocations: 0 / 289.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.03844, allocations: 64.05 kB / 289.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.03855, allocations: 67.3 kB / 289.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.03857, allocations: 11.94 kB / 289.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.04009, allocations: 3.807 MB / 293.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.04009, allocations: 0 / 293.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.04055, allocations: 0.6224 MB / 293.8 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.0406, allocations: 67.47 kB / 293.9 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.04063, allocations: 4 kB / 293.9 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.04075, allocations: 23.97 kB / 293.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.04081, allocations: 27.89 kB / 293.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.04082, allocations: 15.98 kB / 293.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002867/0.04111, allocations: 407 kB / 294.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04111, allocations: 0 / 294.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005117/0.04162, allocations: 156 kB / 294.5 MB, free: 5.996 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.0001215/0.04174, allocations: 107.7 kB / 294.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.04239, allocations: 0.6841 MB / 295.3 MB, free: 5.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.04239, allocations: 0 / 295.3 MB, free: 5.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.04266, allocations: 449.1 kB / 295.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.043, allocations: 72.16 kB / 295.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.04503, allocations: 1.703 MB / 297.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.04515, allocations: 181.8 kB / 297.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.04531, allocations: 81.94 kB / 297.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.04539, allocations: 60.48 kB / 297.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04539, allocations: 0 / 297.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of Templates: time 0.1208/0.1662, allocations: 5.519 MB / 303.3 MB, free: 53.95 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 -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.9101772448047996]