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.0009343/0.0009343, allocations: 80.92 kB / 22.29 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.00168/0.00168, allocations: 167.7 kB / 25.7 MB, free: 8.438 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.8951/0.8951, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.044e-06/2.044e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.373e-05, allocations: 6.25 kB / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005968/0.006002, allocations: 5.531 MB / 257.1 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003975/0.009978, allocations: 1.749 MB / 258.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.01106, allocations: 35.75 kB / 258.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.01169, allocations: 245.5 kB / 259.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007735/0.01246, allocations: 241.4 kB / 259.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.0137, allocations: 0.5108 MB / 259.9 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.01538, allocations: 1.422 MB / 261.3 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000633/0.01601, allocations: 428.2 kB / 261.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009679/0.01698, allocations: 0.7328 MB / 262.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.01744, allocations: 342.7 kB / 262.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.01759, allocations: 120 kB / 262.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.0178, allocations: 144 kB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.01796, allocations: 274.9 kB / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.01827, allocations: 391 kB / 263.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009969/0.01927, allocations: 0.9375 MB / 264.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.01927, allocations: 0 / 264.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01927, allocations: 0 / 264.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.0193, allocations: 0 / 264.6 MB, free: 10.1 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.001511/0.02081, allocations: 1.403 MB / 266 MB, free: 8.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.02086, allocations: 12.03 kB / 266 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.02105, allocations: 187.9 kB / 266.2 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.0218, allocations: 0.5665 MB / 266.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/0.02185, allocations: 90.41 kB / 266.9 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.807e-05/0.02195, allocations: 131.9 kB / 267 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008939/0.02284, allocations: 1.076 MB / 268.1 MB, free: 6.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.02287, allocations: 7.938 kB / 268.1 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.02292, allocations: 52 kB / 268.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.02294, allocations: 32 kB / 268.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.02337, allocations: 353.6 kB / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.02663, allocations: 5.837 MB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.02696, allocations: 169 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.0271, allocations: 106.1 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.02716, allocations: 23.98 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.02719, allocations: 38.48 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.02719, allocations: 0 / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001148/0.02834, allocations: 0.7179 MB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.02837, allocations: 89.05 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.02874, allocations: 0.6205 MB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.02876, allocations: 33.7 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.029, allocations: 0.6246 MB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.02906, allocations: 123 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.02917, allocations: 142.5 kB / 277 MB, free: 12.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.02927, allocations: 402.5 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/0.02933, allocations: 53.97 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.02956, allocations: 488.2 kB / 277.9 MB, free: 11.86 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.0005258/0.03008, allocations: 0.655 MB / 278.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.03009, allocations: 4 kB / 278.6 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005368/0.03063, allocations: 0.5452 MB / 279.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.03064, allocations: 12 kB / 279.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.03066, allocations: 12 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.03085, allocations: 82.2 kB / 279.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.03116, allocations: 175.7 kB / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.03246, allocations: 2.778 MB / 282.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.03268, allocations: 28 kB / 282.2 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.03271, allocations: 39.98 kB / 282.3 MB, free: 7.152 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.0001793/0.03289, allocations: 173.4 kB / 282.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.03296, allocations: 51.94 kB / 282.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.937e-05/0.03305, allocations: 70.34 kB / 282.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.03305, allocations: 4 kB / 282.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.03306, allocations: 4 kB / 282.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.03307, allocations: 4.031 kB / 282.6 MB, free: 6.836 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.0008318/0.0339, allocations: 0.7201 MB / 283.3 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.0339, allocations: 4 kB / 283.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.03406, allocations: 67.89 kB / 283.3 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.03417, allocations: 45.78 kB / 283.4 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.03418, allocations: 4 kB / 283.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.03522, allocations: 2.554 MB / 285.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03523, allocations: 0 / 285.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.03555, allocations: 443.3 kB / 286.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.0356, allocations: 63.42 kB / 286.4 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.03563, allocations: 8 kB / 286.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.03576, allocations: 15.98 kB / 286.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.03583, allocations: 23.95 kB / 286.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.03584, allocations: 12 kB / 286.5 MB, free: 2.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.03602, allocations: 268.5 kB / 286.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03602, allocations: 0 / 286.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.03655, allocations: 164 kB / 286.9 MB, free: 2.219 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.0001054/0.03665, allocations: 96.36 kB / 287 MB, free: 2.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.03713, allocations: 0.5417 MB / 287.6 MB, free: 1.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/0.03714, allocations: 17.75 kB / 287.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.03734, allocations: 325.9 kB / 287.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.03763, allocations: 71.23 kB / 288 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.03951, allocations: 1.627 MB / 289.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.03965, allocations: 174 kB / 289.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.03981, allocations: 81.94 kB / 289.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.03997, allocations: 159.3 kB / 290 MB, free: 15.02 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.03997, allocations: 0 / 290 MB, free: 15.02 MB / 282.7 MB Notification: Performance of Templates: time 0.009421/0.04939, allocations: 5.663 MB / 295.7 MB, free: 9.402 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.708566863555461]