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.000955/0.000955, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002212, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007173/0.0007173, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001757, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.092/1.092, allocations: 177.5 MB / 190 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0998/1.192, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] 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.502e-06/1.502e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.686e-05, allocations: 5.406 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00348/0.003507, allocations: 2.136 MB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.004219, allocations: 0.5763 MB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.00429, allocations: 4 kB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.155e-05/0.004351, allocations: 15.8 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.004426, allocations: 39.64 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.004572, allocations: 75.83 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.004763, allocations: 215.2 kB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.004851, allocations: 29.94 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.004994, allocations: 135.7 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.005136, allocations: 63.84 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.005165, allocations: 16 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.371e-05/0.005218, allocations: 24 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.005247, allocations: 23.92 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.00529, allocations: 51.86 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.005467, allocations: 127.6 kB / 248.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.005476, allocations: 0 / 248.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005477, allocations: 0 / 248.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.005486, allocations: 0 / 248.7 MB, free: 10.03 MB / 250.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.0005111/0.005997, allocations: 417.7 kB / 249.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.006027, allocations: 8.031 kB / 249.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.006173, allocations: 106 kB / 249.3 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.006353, allocations: 153.5 kB / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.006427, allocations: 145 kB / 249.6 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.006446, allocations: 16.38 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.006606, allocations: 176 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.006615, allocations: 192 / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.00663, allocations: 16.11 kB / 249.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006635, allocations: 0 / 249.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.52e-05/0.006701, allocations: 35.98 kB / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.007111, allocations: 322.9 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.007261, allocations: 78.52 kB / 250.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.007292, allocations: 16.86 kB / 250.2 MB, free: 8.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.007311, allocations: 0 / 250.2 MB, free: 8.406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.007337, allocations: 42.56 kB / 250.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 8.11e-07/0.007338, allocations: 0 / 250.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003204/0.007659, allocations: 126.4 kB / 250.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.007687, allocations: 59.41 kB / 250.4 MB, free: 8.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.007774, allocations: 153.9 kB / 250.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.007792, allocations: 25.7 kB / 250.6 MB, free: 7.961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.007848, allocations: 112 kB / 250.7 MB, free: 7.848 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.007869, allocations: 35.72 kB / 250.7 MB, free: 7.812 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.007918, allocations: 33.7 kB / 250.8 MB, free: 7.773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.007999, allocations: 318.8 kB / 251.1 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.008054, allocations: 53.62 kB / 251.1 MB, free: 7.395 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.008111, allocations: 68.27 kB / 251.2 MB, free: 7.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.906e-05/0.0082, allocations: 100.2 kB / 251.3 MB, free: 7.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008202, allocations: 0 / 251.3 MB, free: 7.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001648/0.008366, allocations: 177.8 kB / 251.5 MB, free: 7.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.008404, allocations: 37.69 kB / 251.5 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008409, allocations: 0 / 251.5 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.008572, allocations: 56.89 kB / 251.6 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.008622, allocations: 15.98 kB / 251.6 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009627/0.009585, allocations: 1.285 MB / 252.9 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.0097, allocations: 35.91 kB / 252.9 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.009713, allocations: 8 kB / 252.9 MB, free: 5.477 MB / 250.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 8.089e-05/0.009794, allocations: 117.8 kB / 253 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.009817, allocations: 11.94 kB / 253 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.00994, allocations: 91.3 kB / 253.1 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.009942, allocations: 0 / 253.1 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.009949, allocations: 3.984 kB / 253.1 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.009951, allocations: 0 / 253.1 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.01006, allocations: 97.86 kB / 253.2 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01006, allocations: 0 / 253.2 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.0101, allocations: 19.92 kB / 253.2 MB, free: 5.098 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.01011, allocations: 11.91 kB / 253.3 MB, free: 5.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.01021, allocations: 60.8 kB / 253.3 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01022, allocations: 3.938 kB / 253.3 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007037/0.01092, allocations: 1.269 MB / 254.6 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01093, allocations: 0 / 254.6 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.01105, allocations: 188.7 kB / 254.8 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.01106, allocations: 4 kB / 254.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.01112, allocations: 11.98 kB / 254.8 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.01117, allocations: 11.98 kB / 254.8 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.01117, allocations: 4 kB / 254.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.689e-05/0.0112, allocations: 24.86 kB / 254.8 MB, free: 3.406 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0112, allocations: 7.938 kB / 254.8 MB, free: 3.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.01137, allocations: 55.89 kB / 254.9 MB, free: 3.344 MB / 250.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 7.975e-05/0.01145, allocations: 84.41 kB / 255 MB, free: 3.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.0117, allocations: 271.6 kB / 255.2 MB, free: 2.953 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.01171, allocations: 4 kB / 255.2 MB, free: 2.949 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01181, allocations: 159.3 kB / 255.4 MB, free: 2.777 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01207, allocations: 257.7 kB / 255.7 MB, free: 2.477 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.01324, allocations: 261.1 kB / 255.9 MB, free: 2.195 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.43e-05/0.01329, allocations: 67.7 kB / 256 MB, free: 2.109 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.271e-05/0.01333, allocations: 20.33 kB / 256 MB, free: 2.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.01344, allocations: 79.36 kB / 256.1 MB, free: 2.012 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01344, allocations: 0 / 256.1 MB, free: 2.012 MB / 250.7 MB Notification: Performance of Templates: time 0.005737/0.01918, allocations: 3.488 MB / 259.6 MB, free: 14.56 MB / 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.765286734327674]