Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.001204/0.001204, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00787/0.00787, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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.8695/0.8695, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.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.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.541e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002126/0.002152, allocations: 2.009 MB / 327.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.003101, allocations: 0.5455 MB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.003196, allocations: 4 kB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.003323, allocations: 23.78 kB / 328.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.003402, allocations: 39.64 kB / 328.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.003682, allocations: 75.83 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.003897, allocations: 219.2 kB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.00402, allocations: 33.19 kB / 328.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.004136, allocations: 123.8 kB / 328.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.004279, allocations: 67.83 kB / 329 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.004305, allocations: 16 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.536e-05/0.004351, allocations: 24 kB / 329 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.004376, allocations: 27.91 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.004424, allocations: 63.83 kB / 329.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.004627, allocations: 203.5 kB / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004629, allocations: 0 / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00463, allocations: 0 / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004635, allocations: 4 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005388/0.005174, allocations: 414.7 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005208, allocations: 8.031 kB / 329.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.005315, allocations: 24.84 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.005537, allocations: 157.5 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-05/0.005623, allocations: 145.1 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.005641, allocations: 12.38 kB / 330 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.005855, allocations: 204.2 kB / 330.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.005863, allocations: 192 / 330.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.005882, allocations: 12.11 kB / 330.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005887, allocations: 4 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.00606, allocations: 107.9 kB / 330.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.006583, allocations: 423.3 kB / 330.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.006799, allocations: 110.6 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.006871, allocations: 44.83 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.006893, allocations: 0 / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.006912, allocations: 42.5 kB / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.006913, allocations: 0 / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004871/0.0074, allocations: 226.3 kB / 331.2 MB, free: 9.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.007427, allocations: 55.34 kB / 331.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.007516, allocations: 145.8 kB / 331.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.007534, allocations: 33.7 kB / 331.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.007588, allocations: 108 kB / 331.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.007607, allocations: 35.73 kB / 331.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.007652, allocations: 33.72 kB / 331.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.007726, allocations: 318.8 kB / 331.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.007839, allocations: 85.67 kB / 332 MB, free: 9.012 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.007951, allocations: 116 kB / 332.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.008114, allocations: 148.2 kB / 332.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008115, allocations: 0 / 332.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003529/0.008468, allocations: 293.6 kB / 332.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.0085, allocations: 37.69 kB / 332.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.008505, allocations: 0 / 332.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.008684, allocations: 88.8 kB / 332.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.008729, allocations: 12 kB / 332.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.009792, allocations: 1.47 MB / 334.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.009942, allocations: 51.98 kB / 334.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.009955, allocations: 12.41 kB / 334.2 MB, free: 6.645 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/0.01004, allocations: 121.8 kB / 334.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.01006, allocations: 15.91 kB / 334.3 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.0103, allocations: 167.1 kB / 334.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.0103, allocations: 4 kB / 334.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.0103, allocations: 0 / 334.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01031, allocations: 0 / 334.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.01043, allocations: 149.2 kB / 334.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01043, allocations: 0 / 334.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.01046, allocations: 15.98 kB / 334.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.01058, allocations: 76.8 kB / 334.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.01058, allocations: 3.938 kB / 334.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.01169, allocations: 1.476 MB / 336.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01169, allocations: 4.062 kB / 336.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.01191, allocations: 248.3 kB / 336.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.01192, allocations: 11.94 kB / 336.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-06/0.01193, allocations: 4 kB / 336.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.012, allocations: 15.92 kB / 336.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.01204, allocations: 15.92 kB / 336.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.01205, allocations: 4 kB / 336.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.675e-05/0.0121, allocations: 110.2 kB / 336.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0121, allocations: 4 kB / 336.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.01229, allocations: 47.95 kB / 336.7 MB, free: 3.992 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.134e-05/0.01238, allocations: 99.25 kB / 336.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.01279, allocations: 331.6 kB / 337.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01279, allocations: 0 / 337.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.01292, allocations: 171.1 kB / 337.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01315, allocations: 36.33 kB / 337.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.01356, allocations: 287.2 kB / 337.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.768e-05/0.01361, allocations: 101.8 kB / 337.7 MB, free: 2.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.01364, allocations: 12.5 kB / 337.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01364, allocations: 0 / 337.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of Templates: time 0.002866/0.01651, allocations: 2.49 MB / 340.2 MB, free: 396 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.343874587677419]