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.002013/0.002013, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002336/0.002336, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.657/1.657, allocations: 230.6 MB / 254.1 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.001635/0.001635, allocations: 51.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1252, allocations: 53.34 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003607/0.1289, allocations: 2.049 MB / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1299, allocations: 0.5844 MB / 429.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.13, allocations: 4 kB / 429.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.1302, allocations: 19.8 kB / 429.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.216e-05/0.1302, allocations: 35.7 kB / 429.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1305, allocations: 63.84 kB / 429.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.1308, allocations: 219.3 kB / 429.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1309, allocations: 29.11 kB / 429.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1311, allocations: 83.77 kB / 429.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.1313, allocations: 95.62 kB / 430 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1313, allocations: 20 kB / 430 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.1314, allocations: 24 kB / 430 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.1314, allocations: 31.91 kB / 430.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.1315, allocations: 75.66 kB / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.1318, allocations: 191.3 kB / 430.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1318, allocations: 0 / 430.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1318, allocations: 0 / 430.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1318, allocations: 0 / 430.3 MB, free: 0.7422 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.0009149/0.1327, allocations: 496.5 kB / 430.8 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1327, allocations: 8.031 kB / 430.8 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.1329, allocations: 24.84 kB / 430.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2002/0.3331, allocations: 211.7 kB / 431.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.3332, allocations: 91.36 kB / 431.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.3332, allocations: 9.844 kB / 431.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.3336, allocations: 125.9 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3336, allocations: 0.9688 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3336, allocations: 5.156 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3336, allocations: 7.156 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.334, allocations: 111.3 kB / 431.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.3348, allocations: 0.5176 MB / 431.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3352, allocations: 109 kB / 432 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.3353, allocations: 48.61 kB / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.3353, allocations: 2.5 kB / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3353, allocations: 36.03 kB / 432.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3353, allocations: 0 / 432.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008789/0.3362, allocations: 301.6 kB / 432.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.3363, allocations: 56.97 kB / 432.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3364, allocations: 148.5 kB / 432.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3364, allocations: 28.61 kB / 432.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.3364, allocations: 119.3 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.3364, allocations: 27.92 kB / 432.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.3365, allocations: 37.92 kB / 432.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.3366, allocations: 321.7 kB / 433.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.3367, allocations: 57.55 kB / 433.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3369, allocations: 81.86 kB / 433.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.3372, allocations: 146.9 kB / 433.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3372, allocations: 2.438 kB / 433.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000575/0.3378, allocations: 262.7 kB / 433.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.3378, allocations: 33.83 kB / 433.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3378, allocations: 0.625 kB / 433.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.338, allocations: 77.86 kB / 433.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.3381, allocations: 26.39 kB / 433.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.3396, allocations: 1.61 MB / 435.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.34, allocations: 55.45 kB / 435.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.34, allocations: 7.422 kB / 435.5 MB, free: 8.477 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 9.259e-05/0.3401, allocations: 125.5 kB / 435.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.3402, allocations: 12.56 kB / 435.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.3405, allocations: 168.2 kB / 435.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3406, allocations: 2.219 kB / 435.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.3406, allocations: 2.969 kB / 435.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3406, allocations: 6.094 kB / 435.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3407, allocations: 219 kB / 436 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3408, allocations: 1.125 kB / 436 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.3408, allocations: 11.14 kB / 436 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001591/0.341, allocations: 76.84 kB / 436.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.341, allocations: 2.891 kB / 436.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.3421, allocations: 1.606 MB / 437.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3421, allocations: 0 / 437.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.3425, allocations: 258.3 kB / 437.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.3425, allocations: 83.34 kB / 438 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3426, allocations: 5.031 kB / 438 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3427, allocations: 12.3 kB / 438 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.3428, allocations: 13.92 kB / 438.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3428, allocations: 3.266 kB / 438.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.655e-05/0.3429, allocations: 114.8 kB / 438.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3429, allocations: 4 kB / 438.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.3432, allocations: 53.58 kB / 438.2 MB, free: 6.219 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.0001235/0.3433, allocations: 104.8 kB / 438.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006381/0.3439, allocations: 298.9 kB / 438.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3439, allocations: 0 / 438.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.3442, allocations: 175.8 kB / 438.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3445, allocations: 30.56 kB / 438.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.345, allocations: 280.5 kB / 439.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.3452, allocations: 0.7117 MB / 439.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.3452, allocations: 4.438 kB / 439.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3452, allocations: 11.56 kB / 439.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3452, allocations: 0 / 439.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of Templates: time 0.007444/0.3527, allocations: 2.978 MB / 442.8 MB, free: 4.695 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/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.949085172265768]