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.00187/0.00187, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.002142/0.002142, allocations: 157.7 kB / 24.26 MB, free: 152 kB / 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 1.484/1.484, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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 1.283e-06/1.283e-06, allocations: 0 / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.518e-05, allocations: 2.312 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003537/0.003563, allocations: 2.013 MB / 274.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.004617, allocations: 0.5338 MB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.004689, allocations: 0 / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.00479, allocations: 23.78 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.004896, allocations: 43.64 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.005149, allocations: 71.77 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.005451, allocations: 211.3 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.005566, allocations: 33.27 kB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.005752, allocations: 123.8 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.005948, allocations: 63.84 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.005992, allocations: 20 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.006058, allocations: 27.97 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.006099, allocations: 31.92 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.501e-05/0.006194, allocations: 67.81 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.006499, allocations: 199.4 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.006501, allocations: 0 / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006502, allocations: 0 / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.006506, allocations: 0 / 275.8 MB, free: 14.32 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007647/0.00727, allocations: 415.4 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.007303, allocations: 12.03 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.007449, allocations: 32.84 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.007696, allocations: 161.5 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.007854, allocations: 141.1 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.007889, allocations: 16.38 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.008251, allocations: 195.3 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.008258, allocations: 4.125 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.00828, allocations: 12.12 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.008286, allocations: 3.984 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.00863, allocations: 119.8 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.009476, allocations: 423.2 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.009839, allocations: 102.7 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.009987, allocations: 48.83 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.01001, allocations: 8 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.01004, allocations: 30.56 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 8.91e-07/0.01004, allocations: 0 / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008673/0.01091, allocations: 226.3 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.01095, allocations: 55.34 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.01112, allocations: 149.1 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.01115, allocations: 37.7 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.01125, allocations: 108 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.01129, allocations: 31.73 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.01137, allocations: 37.7 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.01155, allocations: 318.8 kB / 278.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.01177, allocations: 85.67 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.01201, allocations: 116.2 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.01235, allocations: 148.2 kB / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01235, allocations: 0 / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007265/0.01308, allocations: 309.5 kB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.01312, allocations: 33.69 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01313, allocations: 4 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.01337, allocations: 72.89 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.01346, allocations: 15.98 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.01538, allocations: 1.487 MB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.01575, allocations: 43.89 kB / 280.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.01577, allocations: 7.938 kB / 280.7 MB, free: 8.996 MB / 266.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 0.0001316/0.0159, allocations: 129.8 kB / 280.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.01595, allocations: 19.89 kB / 280.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.0164, allocations: 163.2 kB / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.0164, allocations: 0 / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.0164, allocations: 0 / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01641, allocations: 4 kB / 281 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.01663, allocations: 145.2 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01663, allocations: 0 / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.01672, allocations: 15.98 kB / 281.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001782/0.0169, allocations: 73 kB / 281.2 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01692, allocations: 4 kB / 281.3 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.01872, allocations: 1.487 MB / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01872, allocations: 0 / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.0192, allocations: 252.8 kB / 283 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.01922, allocations: 15.89 kB / 283 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.01924, allocations: 7.984 kB / 283 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.0194, allocations: 15.92 kB / 283 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.01949, allocations: 11.98 kB / 283 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.0195, allocations: 8.062 kB / 283 MB, free: 6.484 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.767e-05/0.0196, allocations: 107.2 kB / 283.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0196, allocations: 0 / 283.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.01992, allocations: 47.95 kB / 283.2 MB, free: 6.332 MB / 266.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 0.0001367/0.02006, allocations: 95.44 kB / 283.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007408/0.0208, allocations: 342.5 kB / 283.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0208, allocations: 128 / 283.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.02113, allocations: 170.5 kB / 283.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.02148, allocations: 27.98 kB / 283.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.02209, allocations: 260.8 kB / 284.1 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.02221, allocations: 101.7 kB / 284.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.02226, allocations: 8.484 kB / 284.2 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.0223, allocations: 12.5 kB / 284.2 MB, free: 5.234 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.0223, allocations: 0 / 284.2 MB, free: 5.234 MB / 266.7 MB Notification: Performance of Templates: time 0.007341/0.02964, allocations: 3.075 MB / 287.3 MB, free: 2.207 MB / 266.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.460929497960024]