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.001751/0.001751, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002127/0.002127, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.566/1.566, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.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.001943/0.001943, allocations: 58.23 kB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1186, allocations: 53.4 MB / 378.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003452/0.122, allocations: 1.988 MB / 380.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1231, allocations: 0.5494 MB / 381.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.1232, allocations: 3.938 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.1233, allocations: 19.84 kB / 381.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/0.1234, allocations: 35.66 kB / 381.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1236, allocations: 75.83 kB / 381.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.124, allocations: 211.3 kB / 381.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.1241, allocations: 25.3 kB / 381.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1243, allocations: 87.75 kB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1245, allocations: 75.72 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.1245, allocations: 23.94 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.882e-05/0.1246, allocations: 20 kB / 382 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.1246, allocations: 35.84 kB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.1247, allocations: 67.77 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.125, allocations: 191.3 kB / 382.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.125, allocations: 3.938 kB / 382.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.125, allocations: 0 / 382.3 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.125, allocations: 4 kB / 382.3 MB, free: 12 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.0008147/0.1258, allocations: 411.4 kB / 382.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1258, allocations: 15.98 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.126, allocations: 20.84 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1263, allocations: 162.3 kB / 382.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.1265, allocations: 141.1 kB / 383.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.1265, allocations: 16.38 kB / 383.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.127, allocations: 204.8 kB / 383.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.127, allocations: 0 / 383.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.127, allocations: 4 kB / 383.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.127, allocations: 4 kB / 383.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.1273, allocations: 115.9 kB / 383.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.1282, allocations: 419.3 kB / 383.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.1285, allocations: 106.7 kB / 383.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1286, allocations: 44.83 kB / 384 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1287, allocations: 4 kB / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1287, allocations: 30.56 kB / 384 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.1287, allocations: 7.938 kB / 384 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008292/0.1295, allocations: 230.2 kB / 384.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1296, allocations: 55.41 kB / 384.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1297, allocations: 137.8 kB / 384.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1297, allocations: 33.7 kB / 384.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.1298, allocations: 116 kB / 384.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1298, allocations: 31.75 kB / 384.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.1299, allocations: 33.7 kB / 384.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.13, allocations: 322.8 kB / 384.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1302, allocations: 85.67 kB / 385 MB, free: 9.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1304, allocations: 112.2 kB / 385.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.1308, allocations: 148.2 kB / 385.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1308, allocations: 384 / 385.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006962/0.1315, allocations: 293.6 kB / 385.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.1315, allocations: 33.69 kB / 385.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1315, allocations: 4.094 kB / 385.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.1317, allocations: 80.81 kB / 385.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.1318, allocations: 19.92 kB / 385.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.1336, allocations: 1.476 MB / 387.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.1339, allocations: 51.95 kB / 387.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.134, allocations: 4 kB / 387.2 MB, free: 6.699 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.0001197/0.1341, allocations: 124.3 kB / 387.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1341, allocations: 19.91 kB / 387.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.1345, allocations: 163.2 kB / 387.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1345, allocations: 0 / 387.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1345, allocations: 3.938 kB / 387.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1345, allocations: 0 / 387.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1347, allocations: 149.3 kB / 387.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1347, allocations: 0 / 387.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.1348, allocations: 12.17 kB / 387.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.135, allocations: 80.81 kB / 387.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.135, allocations: 0 / 387.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.1366, allocations: 1.475 MB / 389.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1366, allocations: 4.062 kB / 389.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.137, allocations: 248.3 kB / 389.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.137, allocations: 11.89 kB / 389.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1371, allocations: 4 kB / 389.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1372, allocations: 15.98 kB / 389.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.1373, allocations: 20.09 kB / 389.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1373, allocations: 192 / 389.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.051e-05/0.1374, allocations: 107.2 kB / 389.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1374, allocations: 4 kB / 389.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1377, allocations: 51.95 kB / 389.7 MB, free: 4.051 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.0001261/0.1378, allocations: 107.2 kB / 389.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000648/0.1384, allocations: 335.6 kB / 390.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1384, allocations: 0 / 390.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.1387, allocations: 166.8 kB / 390.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.139, allocations: 35.95 kB / 390.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.1396, allocations: 270.8 kB / 390.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.1397, allocations: 97.81 kB / 390.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.186e-05/0.1398, allocations: 4.484 kB / 390.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1398, allocations: 20.5 kB / 390.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1398, allocations: 0 / 390.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of Templates: time 0.007179/0.147, allocations: 3.063 MB / 393.8 MB, free: 15.92 MB / 366.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 -s ida -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: 4.602801596047357]