Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009968, allocations: 68.08 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 144 kB / 24.97 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9139/0.9139, allocations: 173.4 MB / 201.5 MB, free: 8.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 268.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.593e-05, allocations: 2.312 kB / 268.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007316/0.007342, allocations: 5.678 MB / 273.8 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.01117, allocations: 1.643 MB / 275.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008148/0.01198, allocations: 39.69 kB / 275.4 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.01262, allocations: 251.5 kB / 275.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007058/0.01333, allocations: 234.9 kB / 275.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.01462, allocations: 0.5081 MB / 276.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.01647, allocations: 1.43 MB / 277.9 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000823/0.0173, allocations: 416.2 kB / 278.3 MB, free: 156 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.01831, allocations: 0.7289 MB / 279 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.01872, allocations: 350.7 kB / 279.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.01886, allocations: 120 kB / 279.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.01905, allocations: 136 kB / 279.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.0192, allocations: 271 kB / 279.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.01951, allocations: 398.9 kB / 280.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.02068, allocations: 0.9375 MB / 281.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.629e-06/0.02069, allocations: 0 / 281.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.02069, allocations: 0 / 281.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.906e-05/0.02074, allocations: 0 / 281.2 MB, free: 13.23 MB / 266.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.001841/0.02258, allocations: 1.513 MB / 282.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.02263, allocations: 12.03 kB / 282.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.02287, allocations: 239.1 kB / 282.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/0.0238, allocations: 0.7332 MB / 283.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.02387, allocations: 86.41 kB / 283.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.024, allocations: 131.8 kB / 283.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.02545, allocations: 1.231 MB / 285.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.02547, allocations: 3.938 kB / 285.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/0.02554, allocations: 59.98 kB / 285.2 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.02557, allocations: 32 kB / 285.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.02628, allocations: 454.8 kB / 285.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.03069, allocations: 8.398 MB / 294 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.03112, allocations: 210.4 kB / 294.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.03132, allocations: 131.6 kB / 294.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.557e-05/0.03139, allocations: 19.91 kB / 294.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.03142, allocations: 41.39 kB / 294.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.03142, allocations: 0 / 294.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001387/0.03281, allocations: 1.14 MB / 295.6 MB, free: 14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.03284, allocations: 85.05 kB / 295.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.03335, allocations: 0.6748 MB / 296.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.03337, allocations: 33.7 kB / 296.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.03369, allocations: 0.7394 MB / 297.1 MB, free: 12.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.03377, allocations: 123 kB / 297.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.0339, allocations: 152.2 kB / 297.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.03406, allocations: 0.5547 MB / 297.9 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.03418, allocations: 81.94 kB / 298 MB, free: 11.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.03455, allocations: 0.6641 MB / 298.7 MB, free: 10.56 MB / 282.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.0007052/0.03526, allocations: 0.872 MB / 299.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.03526, allocations: 8 kB / 299.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007621/0.03602, allocations: 0.7067 MB / 300.3 MB, free: 8.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.03604, allocations: 12.91 kB / 300.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.03606, allocations: 16 kB / 300.3 MB, free: 8.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.03625, allocations: 83.33 kB / 300.4 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.03655, allocations: 179.7 kB / 300.6 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.0384, allocations: 4.135 MB / 304.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.03861, allocations: 32 kB / 304.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.03865, allocations: 44 kB / 304.8 MB, free: 3.945 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.0002368/0.03888, allocations: 212.2 kB / 305 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.03896, allocations: 87.48 kB / 305.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.03903, allocations: 78.31 kB / 305.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.03903, allocations: 4 kB / 305.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.03904, allocations: 7.938 kB / 305.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.03904, allocations: 0 / 305.1 MB, free: 3.551 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.001058/0.0401, allocations: 1.08 MB / 306.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.0401, allocations: 4 kB / 306.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.04028, allocations: 59.95 kB / 306.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.0404, allocations: 67.34 kB / 306.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.04042, allocations: 8 kB / 306.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.04195, allocations: 3.804 MB / 310.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.04196, allocations: 0 / 310.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.04242, allocations: 0.6184 MB / 310.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.04247, allocations: 67.48 kB / 310.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.0425, allocations: 11.92 kB / 310.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.04263, allocations: 16 kB / 310.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.0427, allocations: 27.89 kB / 310.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.04271, allocations: 12.03 kB / 310.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002968/0.04301, allocations: 410.9 kB / 311.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04301, allocations: 0 / 311.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005635/0.04357, allocations: 156 kB / 311.5 MB, free: 12.86 MB / 298.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.0001324/0.0437, allocations: 103.2 kB / 311.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006471/0.04435, allocations: 0.6909 MB / 312.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.04435, allocations: 0 / 312.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.04461, allocations: 443.3 kB / 312.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.04498, allocations: 71.3 kB / 312.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.04733, allocations: 1.707 MB / 314.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.04746, allocations: 178 kB / 314.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.04764, allocations: 85.92 kB / 314.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.04773, allocations: 52.48 kB / 314.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.04773, allocations: 0 / 314.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of Templates: time 0.009246/0.05698, allocations: 5.296 MB / 320.1 MB, free: 4.234 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.884968316880986]