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.002694/0.002694, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.003139/0.003139, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.555/1.555, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 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 1.463e-06/1.463e-06, allocations: 0 / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.849e-05/3.996e-05, allocations: 2.312 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003927/0.003967, allocations: 2.042 MB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.005111, allocations: 0.5571 MB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.005198, allocations: 4 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.005317, allocations: 19.78 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.005419, allocations: 39.64 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.005688, allocations: 71.84 kB / 274.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.006013, allocations: 219.2 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.006136, allocations: 33.27 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.006328, allocations: 123.8 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.006533, allocations: 67.83 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.006579, allocations: 20 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.006646, allocations: 20 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.006689, allocations: 27.91 kB / 275.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.00679, allocations: 63.83 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.007139, allocations: 211.4 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.007142, allocations: 0 / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007143, allocations: 0 / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.007147, allocations: 0 / 275.7 MB, free: 14.24 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.0008742/0.008022, allocations: 0.5013 MB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.008061, allocations: 11.98 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.008247, allocations: 36.83 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.008545, allocations: 160.3 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.0087, allocations: 153.1 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.008731, allocations: 12.38 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.009077, allocations: 201.4 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.00909, allocations: 4.188 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.009115, allocations: 12.12 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.009119, allocations: 0 / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.00942, allocations: 111.8 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.01036, allocations: 0.4907 MB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.01071, allocations: 111.2 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.01082, allocations: 47.61 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.01085, allocations: 4 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.01088, allocations: 33.39 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.01088, allocations: 4 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007977/0.01168, allocations: 225.1 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.01173, allocations: 55.34 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.01194, allocations: 217.8 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.01197, allocations: 33.7 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.0121, allocations: 162.7 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.01213, allocations: 31.73 kB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.01222, allocations: 35.38 kB / 278.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002878/0.01251, allocations: 0.5001 MB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.01269, allocations: 81.67 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.0129, allocations: 124.6 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.01318, allocations: 148.7 kB / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01319, allocations: 0 / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006652/0.01385, allocations: 300.4 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.996e-05/0.0139, allocations: 37.69 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01391, allocations: 4.062 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.01417, allocations: 79.64 kB / 279.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.01425, allocations: 12 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.01674, allocations: 2.018 MB / 281.6 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.01701, allocations: 35.91 kB / 281.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.01703, allocations: 7.938 kB / 281.7 MB, free: 7.836 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.00016/0.01719, allocations: 168.6 kB / 281.8 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.01724, allocations: 19.84 kB / 281.9 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.01762, allocations: 158.1 kB / 282 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.01763, allocations: 4 kB / 282 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-07/0.01763, allocations: 0 / 282 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.01764, allocations: 0 / 282 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.01788, allocations: 172.5 kB / 282.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01789, allocations: 4 kB / 282.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.01795, allocations: 4 kB / 282.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.01814, allocations: 83.62 kB / 282.3 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.01815, allocations: 4 kB / 282.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.0202, allocations: 2.018 MB / 284.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02021, allocations: 0 / 284.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.02065, allocations: 303.5 kB / 284.6 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.02067, allocations: 11.89 kB / 284.6 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.02068, allocations: 0 / 284.6 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.02082, allocations: 19.92 kB / 284.6 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.02088, allocations: 7.984 kB / 284.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.0209, allocations: 11.94 kB / 284.6 MB, free: 4.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.02102, allocations: 154.5 kB / 284.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02102, allocations: 0 / 284.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003074/0.02132, allocations: 51.95 kB / 284.8 MB, free: 4.457 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.0001473/0.02147, allocations: 99.25 kB / 284.9 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007149/0.02219, allocations: 401.6 kB / 285.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02219, allocations: 0 / 285.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.02254, allocations: 237.4 kB / 285.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.02286, allocations: 29 kB / 285.6 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.02347, allocations: 270.6 kB / 285.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.02358, allocations: 93.67 kB / 285.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.443e-05/0.02364, allocations: 16.47 kB / 286 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.02367, allocations: 12.5 kB / 286 MB, free: 3.203 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02367, allocations: 0 / 286 MB, free: 3.203 MB / 266.7 MB Notification: Performance of Templates: time 0.007887/0.03156, allocations: 3.144 MB / 289.1 MB, free: 100 kB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_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: 4.682395964046009]