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.001917/0.001917, allocations: 116 kB / 18.45 MB, free: 4.605 MB / 14.72 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.002363/0.002363, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001687/0.001687, allocations: 47.92 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1202, allocations: 53.33 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00377/0.124, allocations: 2.063 MB / 429.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1252, allocations: 0.5766 MB / 430.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.1254, allocations: 3.938 kB / 430.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.1255, allocations: 19.8 kB / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.1256, allocations: 39.69 kB / 430.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.1259, allocations: 67.84 kB / 430.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.1263, allocations: 219.3 kB / 430.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1264, allocations: 33.11 kB / 430.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1265, allocations: 83.75 kB / 430.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.1268, allocations: 91.64 kB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.1268, allocations: 20 kB / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.1269, allocations: 24 kB / 430.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.1269, allocations: 27.91 kB / 430.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.127, allocations: 79.66 kB / 430.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.1273, allocations: 191.3 kB / 431 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1273, allocations: 0 / 431 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1273, allocations: 0 / 431 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1273, allocations: 4 kB / 431 MB, free: 0.7188 MB / 350.1 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.0008513/0.1282, allocations: 492.5 kB / 431.5 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1282, allocations: 8.031 kB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1284, allocations: 24.83 kB / 431.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1802/0.3086, allocations: 206.2 kB / 431.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.3087, allocations: 92.72 kB / 431.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.3087, allocations: 15.41 kB / 431.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.3091, allocations: 125 kB / 432 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3091, allocations: 3.562 kB / 432 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.3091, allocations: 5.094 kB / 432 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3091, allocations: 7.219 kB / 432 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.3095, allocations: 109.5 kB / 432.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.3103, allocations: 0.513 MB / 432.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.3106, allocations: 106.4 kB / 432.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.3108, allocations: 47.64 kB / 432.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3108, allocations: 1.812 kB / 432.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.3108, allocations: 42.69 kB / 432.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.3108, allocations: 0 / 432.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000853/0.3117, allocations: 297.5 kB / 433.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.3117, allocations: 60.84 kB / 433.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3118, allocations: 151.5 kB / 433.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3118, allocations: 26.98 kB / 433.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.3119, allocations: 118.5 kB / 433.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.3119, allocations: 26.75 kB / 433.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.188e-05/0.312, allocations: 35.72 kB / 433.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.312, allocations: 321.4 kB / 433.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.3122, allocations: 62.84 kB / 433.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3124, allocations: 82.25 kB / 434 MB, free: 9.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3127, allocations: 142.5 kB / 434.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3127, allocations: 1.25 kB / 434.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005595/0.3132, allocations: 256.8 kB / 434.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.3133, allocations: 37.14 kB / 434.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3133, allocations: 4.609 kB / 434.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.3135, allocations: 70.55 kB / 434.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.3136, allocations: 24.86 kB / 434.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.3149, allocations: 1.616 MB / 436.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.3152, allocations: 54 kB / 436.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3152, allocations: 4.375 kB / 436.2 MB, free: 8.43 MB / 350.1 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.246e-05/0.3153, allocations: 129.8 kB / 436.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.3154, allocations: 20 kB / 436.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.3158, allocations: 161.5 kB / 436.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3158, allocations: 3.312 kB / 436.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.3158, allocations: 128 / 436.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3158, allocations: 10.47 kB / 436.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3159, allocations: 210.8 kB / 436.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3159, allocations: 1.156 kB / 436.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.027e-05/0.316, allocations: 11.11 kB / 436.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.3162, allocations: 80.88 kB / 436.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3162, allocations: 3.438 kB / 436.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.3173, allocations: 1.609 MB / 438.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3173, allocations: 1.094 kB / 438.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.3177, allocations: 248.6 kB / 438.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3177, allocations: 88.83 kB / 438.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3177, allocations: 1.094 kB / 438.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3179, allocations: 18.64 kB / 438.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.3179, allocations: 10.36 kB / 438.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3179, allocations: 6.938 kB / 438.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.44e-05/0.318, allocations: 106.7 kB / 438.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.318, allocations: 0 / 438.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.3183, allocations: 52.45 kB / 438.9 MB, free: 6.184 MB / 350.1 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 0.0001096/0.3184, allocations: 108.7 kB / 439 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006159/0.319, allocations: 304 kB / 439.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.319, allocations: 1.031 kB / 439.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3193, allocations: 167.7 kB / 439.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3196, allocations: 37.77 kB / 439.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.3202, allocations: 298.4 kB / 439.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.3204, allocations: 0.7103 MB / 440.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.3204, allocations: 20.12 kB / 440.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3204, allocations: 0 / 440.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of Templates: time 0.00527/0.3257, allocations: 2.483 MB / 443 MB, free: 4.668 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins1/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: 7.509554423973896]