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.001572/0.001572, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001406/0.001406, allocations: 164 kB / 24.49 MB, free: 3.453 MB / 14.72 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.41/1.41, allocations: 177.2 MB / 204.9 MB, free: 9.074 MB / 190.1 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 0.001548/0.001548, allocations: 47.39 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09581, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003524/0.09934, allocations: 1.996 MB / 380.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1004, allocations: 0.5338 MB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.1005, allocations: 4 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1006, allocations: 27.78 kB / 381.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.275e-05/0.1007, allocations: 39.64 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.101, allocations: 63.84 kB / 381.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.1012, allocations: 219.3 kB / 381.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1014, allocations: 29.3 kB / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1015, allocations: 79.77 kB / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.1017, allocations: 83.64 kB / 382 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.1017, allocations: 20 kB / 382 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.1018, allocations: 24 kB / 382 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.1018, allocations: 31.91 kB / 382.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.37e-05/0.1019, allocations: 75.64 kB / 382.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1022, allocations: 183.3 kB / 382.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1022, allocations: 0 / 382.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1022, allocations: 0 / 382.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1022, allocations: 0 / 382.3 MB, free: 12.29 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.0007689/0.103, allocations: 423.4 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.103, allocations: 12.03 kB / 382.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1031, allocations: 20.84 kB / 382.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1034, allocations: 158.3 kB / 382.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.1035, allocations: 141.1 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1036, allocations: 12.38 kB / 383.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.1039, allocations: 210.7 kB / 383.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1039, allocations: 0 / 383.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1039, allocations: 0 / 383.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1039, allocations: 8 kB / 383.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.1043, allocations: 107.9 kB / 383.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.1051, allocations: 423.3 kB / 383.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.1054, allocations: 102.7 kB / 383.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1056, allocations: 48.83 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1056, allocations: 7.984 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1056, allocations: 34.56 kB / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1056, allocations: 0 / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008712/0.1065, allocations: 222.3 kB / 384.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1066, allocations: 59.41 kB / 384.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1067, allocations: 145.5 kB / 384.4 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1067, allocations: 29.7 kB / 384.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.1068, allocations: 123.9 kB / 384.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.1068, allocations: 27.73 kB / 384.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/0.1069, allocations: 37.64 kB / 384.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1071, allocations: 326.8 kB / 384.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.1073, allocations: 85.67 kB / 385 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1075, allocations: 112.2 kB / 385.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.1078, allocations: 148.2 kB / 385.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1078, allocations: 0 / 385.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000678/0.1085, allocations: 293.7 kB / 385.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.1086, allocations: 41.75 kB / 385.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1086, allocations: 8 kB / 385.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.1088, allocations: 64.83 kB / 385.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.1089, allocations: 19.92 kB / 385.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.1107, allocations: 1.479 MB / 387.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.1111, allocations: 47.94 kB / 387.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1111, allocations: 11.94 kB / 387.2 MB, free: 6.98 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.000127/0.1112, allocations: 125.8 kB / 387.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.1113, allocations: 15.91 kB / 387.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/0.1117, allocations: 167.2 kB / 387.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1117, allocations: 0 / 387.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1117, allocations: 4.125 kB / 387.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1117, allocations: 4 kB / 387.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1119, allocations: 145.3 kB / 387.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1119, allocations: 7.938 kB / 387.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.112, allocations: 11.98 kB / 387.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.1121, allocations: 64.83 kB / 387.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1121, allocations: 0 / 387.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.1137, allocations: 1.491 MB / 389.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1137, allocations: 192 / 389.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.1141, allocations: 248.4 kB / 389.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.1141, allocations: 11.89 kB / 389.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.1142, allocations: 4 kB / 389.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.1143, allocations: 28.05 kB / 389.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.1144, allocations: 11.97 kB / 389.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1144, allocations: 4 kB / 389.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.1145, allocations: 106.3 kB / 389.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1145, allocations: 0 / 389.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.1148, allocations: 51.95 kB / 389.7 MB, free: 4.324 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.0001169/0.1149, allocations: 103.2 kB / 389.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.1155, allocations: 335.7 kB / 390.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1155, allocations: 0 / 390.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.1158, allocations: 170.6 kB / 390.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1162, allocations: 23.92 kB / 390.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.1167, allocations: 282.4 kB / 390.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.586e-05/0.1168, allocations: 97.81 kB / 390.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.435e-05/0.1169, allocations: 8.484 kB / 390.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.1169, allocations: 16.48 kB / 390.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1169, allocations: 480 / 390.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of Templates: time 0.006725/0.1237, allocations: 3.05 MB / 393.8 MB, free: 208 kB / 350.1 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 -s ida -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/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_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.475401588017121]