Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001322/0.001322, allocations: 75.73 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.001515/0.001515, allocations: 168.6 kB / 24.5 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.431/1.431, allocations: 177.2 MB / 204.9 MB, free: 9.043 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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 51.22 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09523, allocations: 53.33 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00553/0.1008, allocations: 3.846 MB / 382.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1028, allocations: 0.9853 MB / 383.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.1031, allocations: 11.94 kB / 383.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1035, allocations: 95 kB / 383.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.1041, allocations: 198.3 kB / 384.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.1046, allocations: 191.7 kB / 384.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009545/0.1056, allocations: 0.74 MB / 385 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.1059, allocations: 151.6 kB / 385.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.1064, allocations: 302.9 kB / 385.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.107, allocations: 290.5 kB / 385.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.1071, allocations: 60 kB / 385.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.1073, allocations: 64 kB / 385.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.1074, allocations: 155.4 kB / 386 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.1078, allocations: 266.7 kB / 386.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.1086, allocations: 0.7313 MB / 387 MB, free: 7.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1086, allocations: 0 / 387 MB, free: 7.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1086, allocations: 0 / 387 MB, free: 7.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.1086, allocations: 0 / 387 MB, free: 7.59 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00153/0.1101, allocations: 0.8632 MB / 387.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1101, allocations: 12.03 kB / 387.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.1105, allocations: 96.48 kB / 387.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.111, allocations: 336.4 kB / 388.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.1111, allocations: 41.69 kB / 388.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.1112, allocations: 56.33 kB / 388.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009727/0.1121, allocations: 0.5493 MB / 388.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1122, allocations: 0 / 388.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1122, allocations: 20 kB / 388.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.1122, allocations: 12 kB / 388.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008968/0.1131, allocations: 447.7 kB / 389.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.1159, allocations: 1.789 MB / 391.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.1168, allocations: 0.5118 MB / 391.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.1175, allocations: 367.2 kB / 392 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1175, allocations: 4.5 kB / 392 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1176, allocations: 39.06 kB / 392.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.843e-06/0.1176, allocations: 0 / 392.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004474/0.122, allocations: 1.728 MB / 393.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1221, allocations: 59.84 kB / 393.9 MB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.1225, allocations: 333.7 kB / 394.2 MB, free: 116 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.1226, allocations: 37.7 kB / 394.2 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1228, allocations: 245.3 kB / 394.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.1229, allocations: 210.2 kB / 394.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.1231, allocations: 90.3 kB / 394.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.1233, allocations: 350.8 kB / 395.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.1238, allocations: 169.2 kB / 395.3 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.1242, allocations: 216.8 kB / 395.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/0.1249, allocations: 382.1 kB / 395.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1249, allocations: 0 / 395.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001312/0.1262, allocations: 0.6563 MB / 396.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1263, allocations: 8 kB / 396.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1263, allocations: 3.938 kB / 396.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007604/0.127, allocations: 259.1 kB / 396.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.1273, allocations: 63.89 kB / 396.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007626/0.135, allocations: 6.946 MB / 403.8 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.1352, allocations: 15.98 kB / 403.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.1353, allocations: 16 kB / 403.8 MB, free: 6.016 MB / 366.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.0002353/0.1355, allocations: 174 kB / 404 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.1356, allocations: 51.78 kB / 404 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.1357, allocations: 60.8 kB / 404.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1357, allocations: 11.98 kB / 404.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1357, allocations: 480 / 404.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1357, allocations: 0 / 404.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.1379, allocations: 1.183 MB / 405.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.138, allocations: 3.984 kB / 405.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.1382, allocations: 51.91 kB / 405.4 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007376/0.139, allocations: 255.1 kB / 405.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.139, allocations: 12 kB / 405.6 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007475/0.1465, allocations: 6.959 MB / 412.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1465, allocations: 4.062 kB / 412.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.1484, allocations: 1.013 MB / 413.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.1486, allocations: 83.59 kB / 413.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.1487, allocations: 12 kB / 413.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.1489, allocations: 23.92 kB / 413.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.1491, allocations: 60.33 kB / 413.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.1491, allocations: 16 kB / 413.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.1494, allocations: 243.6 kB / 414 MB, free: 11.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1494, allocations: 0 / 414 MB, free: 11.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008694/0.1502, allocations: 172 kB / 414.2 MB, free: 11.15 MB / 382.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.0001498/0.1504, allocations: 114.6 kB / 414.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.1521, allocations: 1.009 MB / 415.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1521, allocations: 3.938 kB / 415.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.1534, allocations: 0.8253 MB / 416.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.1539, allocations: 77.41 kB / 416.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.1562, allocations: 1.274 MB / 417.5 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1566, allocations: 275.7 kB / 417.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.1567, allocations: 56.34 kB / 417.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.1568, allocations: 28.5 kB / 417.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1568, allocations: 0 / 417.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of Templates: time 0.01666/0.1735, allocations: 8.393 MB / 426.2 MB, free: 15.03 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.870925166993402]