Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 55.92 kB / 347.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3713, allocations: 49.15 MB / 396.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005165/0.3764, allocations: 4.224 MB / 401.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3786, allocations: 0.9648 MB / 402 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.3789, allocations: 11.66 kB / 402 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.3792, allocations: 103.1 kB / 402.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.3798, allocations: 192.2 kB / 402.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.3801, allocations: 167.7 kB / 402.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007652/0.3809, allocations: 0.7286 MB / 403.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.3812, allocations: 165.2 kB / 403.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.3816, allocations: 286.1 kB / 403.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.382, allocations: 336.6 kB / 404 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3821, allocations: 60.44 kB / 404 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3822, allocations: 65.09 kB / 404.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3824, allocations: 151.1 kB / 404.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.3826, allocations: 326.2 kB / 404.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009032/0.3835, allocations: 0.7136 MB / 405.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3835, allocations: 0 / 405.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3835, allocations: 0 / 405.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.3836, allocations: 0 / 405.3 MB, free: 4.148 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001502/0.3851, allocations: 0.8577 MB / 406.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3851, allocations: 12.92 kB / 406.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.3852, allocations: 76.28 kB / 406.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.3858, allocations: 325.4 kB / 406.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.3859, allocations: 42.41 kB / 406.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.386, allocations: 50.28 kB / 406.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.3871, allocations: 0.5502 MB / 407.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.3871, allocations: 0 / 407.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.3872, allocations: 21.78 kB / 407.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.3872, allocations: 13.97 kB / 407.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.3881, allocations: 446.8 kB / 407.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.3909, allocations: 1.981 MB / 409.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/0.3918, allocations: 0.5201 MB / 410.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.3923, allocations: 365.2 kB / 410.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.3924, allocations: 7.312 kB / 410.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3924, allocations: 38.42 kB / 410.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/0.3924, allocations: 3.938 kB / 410.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004124/0.3965, allocations: 1.718 MB / 412.3 MB, free: 32 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.3966, allocations: 63.19 kB / 412.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.3971, allocations: 362.2 kB / 412.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.3971, allocations: 35.92 kB / 412.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.3973, allocations: 237.3 kB / 413 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.3975, allocations: 209.6 kB / 413.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.3977, allocations: 90.59 kB / 413.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3979, allocations: 361 kB / 413.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.3983, allocations: 172.6 kB / 413.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.3986, allocations: 207.1 kB / 414 MB, free: 14.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.3993, allocations: 382.3 kB / 414.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3993, allocations: 4 kB / 414.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001286/0.4006, allocations: 0.6575 MB / 415 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4006, allocations: 13.75 kB / 415 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4006, allocations: 1.156 kB / 415 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007923/0.4014, allocations: 255.3 kB / 415.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.4017, allocations: 58 kB / 415.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008083/0.4098, allocations: 7.096 MB / 422.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.4104, allocations: 14.31 kB / 422.4 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.4104, allocations: 23.98 kB / 422.5 MB, free: 7.305 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003674/0.4108, allocations: 168.7 kB / 422.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4109, allocations: 53.3 kB / 422.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.411, allocations: 62.7 kB / 422.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4111, allocations: 10.23 kB / 422.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/0.4111, allocations: 5.375 kB / 422.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4111, allocations: 7.984 kB / 422.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.4135, allocations: 1.291 MB / 424.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4135, allocations: 4 kB / 424.1 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4138, allocations: 62.89 kB / 424.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/0.4145, allocations: 250.3 kB / 424.4 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.4145, allocations: 14.59 kB / 424.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007297/0.4218, allocations: 7.091 MB / 431.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4218, allocations: 4 kB / 431.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.4237, allocations: 1.022 MB / 432.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.424, allocations: 83.64 kB / 432.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.424, allocations: 12 kB / 432.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.4243, allocations: 15.98 kB / 432.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.4245, allocations: 56.33 kB / 432.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.4245, allocations: 16 kB / 432.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.4248, allocations: 259.2 kB / 432.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4248, allocations: 0 / 432.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009373/0.4257, allocations: 180 kB / 433.1 MB, free: 13.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.4259, allocations: 103.2 kB / 433.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.4277, allocations: 1.021 MB / 434.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4277, allocations: 0 / 434.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.429, allocations: 0.8175 MB / 435 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.4295, allocations: 101.5 kB / 435.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.4322, allocations: 1.279 MB / 436.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/0.4329, allocations: 0.8714 MB / 437.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.4331, allocations: 52.53 kB / 437.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.4332, allocations: 27.44 kB / 437.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4332, allocations: 0 / 437.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Templates: time 0.01974/0.453, allocations: 9.588 MB / 447 MB, free: 15.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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: 5.599479738622904]