Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002343/0.002343, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 55.91 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2781, allocations: 53.42 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003532/0.2816, allocations: 1.996 MB / 434.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2827, allocations: 0.5377 MB / 434.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.521e-05/0.2828, allocations: 4 kB / 434.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2829, allocations: 19.8 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/0.283, allocations: 39.69 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2833, allocations: 71.86 kB / 435.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.2836, allocations: 219.2 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2837, allocations: 33.25 kB / 435.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2838, allocations: 71.83 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.2841, allocations: 87.58 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.2841, allocations: 20 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.2842, allocations: 24 kB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.2842, allocations: 31.91 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.524e-05/0.2843, allocations: 71.66 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.2846, allocations: 191 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2846, allocations: 0 / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2846, allocations: 3.938 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2846, allocations: 0 / 435.8 MB, free: 3.109 MB / 334.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.0007446/0.2853, allocations: 415.4 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2854, allocations: 15.98 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.2855, allocations: 24.83 kB / 436.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.2858, allocations: 150.3 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.2859, allocations: 145.1 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.286, allocations: 16.38 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.2863, allocations: 209.9 kB / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2863, allocations: 0 / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2863, allocations: 4 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2864, allocations: 0 / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.2867, allocations: 119.7 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.2875, allocations: 415.1 kB / 437.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.2878, allocations: 106.7 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.288, allocations: 48.84 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.288, allocations: 0 / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.288, allocations: 46.48 kB / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.288, allocations: 0 / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008425/0.2889, allocations: 218.3 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.2889, allocations: 55.39 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2891, allocations: 153.2 kB / 437.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.2891, allocations: 25.7 kB / 437.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.2892, allocations: 112 kB / 438 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.2892, allocations: 35.72 kB / 438.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.2893, allocations: 33.7 kB / 438.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2895, allocations: 318.8 kB / 438.4 MB, free: 284 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.2897, allocations: 97.66 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2899, allocations: 108.6 kB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.2902, allocations: 152.2 kB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2902, allocations: 0 / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006491/0.2909, allocations: 293.7 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.2909, allocations: 37.7 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2909, allocations: 4.062 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.2912, allocations: 76.73 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.2912, allocations: 15.98 kB / 439.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.293, allocations: 1.494 MB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.2933, allocations: 39.98 kB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2933, allocations: 12.06 kB / 440.7 MB, free: 13.79 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 0.0001233/0.2934, allocations: 121.8 kB / 440.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.2935, allocations: 11.91 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.2939, allocations: 167.1 kB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2939, allocations: 0 / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2939, allocations: 7.938 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2939, allocations: 0 / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.2941, allocations: 137.2 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2941, allocations: 0 / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.2942, allocations: 19.98 kB / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.2944, allocations: 80.67 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2944, allocations: 4 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.296, allocations: 1.476 MB / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.296, allocations: 3.938 kB / 442.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.2965, allocations: 244.3 kB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.2965, allocations: 12.17 kB / 443 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.2965, allocations: 3.938 kB / 443 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2966, allocations: 15.98 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.2967, allocations: 19.97 kB / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2967, allocations: 4 kB / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.637e-05/0.2968, allocations: 107.3 kB / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2968, allocations: 0 / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.2971, allocations: 51.89 kB / 443.2 MB, free: 11.14 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.0001403/0.2973, allocations: 98.62 kB / 443.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.298, allocations: 339.7 kB / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.298, allocations: 0 / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.2983, allocations: 166.7 kB / 443.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2986, allocations: 31.8 kB / 443.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.2992, allocations: 308.6 kB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.2993, allocations: 97.61 kB / 444.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.2994, allocations: 11.44 kB / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2994, allocations: 0 / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Templates: time 0.005/0.3044, allocations: 2.5 MB / 446.7 MB, free: 7.531 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.077237615827471]