Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001217/0.001217, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.00119/0.00119, allocations: 188.3 kB / 21.39 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 43.92 kB / 366.8 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09214, allocations: 52.14 MB / 419 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00539/0.09753, allocations: 4.278 MB / 423.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.09912, allocations: 0.9152 MB / 424.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.0993, allocations: 11.94 kB / 424.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.09954, allocations: 99 kB / 424.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.09998, allocations: 206.3 kB / 424.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1003, allocations: 155.8 kB / 424.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007441/0.101, allocations: 0.7322 MB / 425.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.1013, allocations: 155.1 kB / 425.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.1016, allocations: 282.9 kB / 425.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.102, allocations: 338.5 kB / 426.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.512e-05/0.1021, allocations: 60 kB / 426.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1022, allocations: 60 kB / 426.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.1024, allocations: 147.4 kB / 426.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.1027, allocations: 330.3 kB / 426.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.1034, allocations: 0.7157 MB / 427.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1034, allocations: 0 / 427.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1034, allocations: 3.938 kB / 427.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1034, allocations: 0 / 427.4 MB, free: 3.672 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.001615/0.105, allocations: 0.9269 MB / 428.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1051, allocations: 8.031 kB / 428.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.1052, allocations: 76.52 kB / 428.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.1058, allocations: 382.2 kB / 428.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.1058, allocations: 37.69 kB / 428.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.1059, allocations: 56.36 kB / 428.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.1068, allocations: 0.5415 MB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1068, allocations: 7.938 kB / 429.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.1069, allocations: 20 kB / 429.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1069, allocations: 12 kB / 429.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/0.1078, allocations: 455.6 kB / 429.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.1107, allocations: 2.031 MB / 432 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.1117, allocations: 0.5953 MB / 432.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.1123, allocations: 358.9 kB / 432.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.1123, allocations: 8.562 kB / 432.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1124, allocations: 39.12 kB / 432.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=60): time 1.743e-06/0.1124, allocations: 0 / 432.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.004538/0.1169, allocations: 2.037 MB / 435 MB, free: 11.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1169, allocations: 55.97 kB / 435 MB, free: 11.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.1173, allocations: 365.6 kB / 435.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.1174, allocations: 33.7 kB / 435.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1176, allocations: 237.4 kB / 435.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.1177, allocations: 206.2 kB / 435.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1179, allocations: 98.2 kB / 436 MB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.118, allocations: 358.8 kB / 436.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.1184, allocations: 169 kB / 436.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.1188, allocations: 203.8 kB / 436.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.1195, allocations: 388.8 kB / 437.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1195, allocations: 0 / 437.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001244/0.1207, allocations: 0.658 MB / 437.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1207, allocations: 7.938 kB / 437.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1207, allocations: 0 / 437.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.1215, allocations: 267.1 kB / 438 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.1218, allocations: 55.97 kB / 438 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/0.1292, allocations: 7.506 MB / 445.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.1296, allocations: 20.02 kB / 445.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.1296, allocations: 16 kB / 445.6 MB, free: 0.5117 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.000243/0.1298, allocations: 165.8 kB / 445.7 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1299, allocations: 55.78 kB / 445.8 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.1301, allocations: 68.95 kB / 445.9 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.1301, allocations: 12.06 kB / 445.9 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.1301, allocations: 7.938 kB / 445.9 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.1301, allocations: 3.984 kB / 445.9 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.18/0.3101, allocations: 1.317 MB / 447.2 MB, free: 29.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3101, allocations: 0 / 447.2 MB, free: 29.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.3104, allocations: 58.08 kB / 447.3 MB, free: 29.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005956/0.311, allocations: 255.1 kB / 447.5 MB, free: 29.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.311, allocations: 16.42 kB / 447.5 MB, free: 29.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/0.3156, allocations: 7.503 MB / 455 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3156, allocations: 2.812 kB / 455 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.317, allocations: 1.019 MB / 456 MB, free: 23.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3172, allocations: 162.2 kB / 456.2 MB, free: 23.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.3173, allocations: 11.25 kB / 456.2 MB, free: 23.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.3175, allocations: 20.27 kB / 456.2 MB, free: 23.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.3177, allocations: 52.84 kB / 456.3 MB, free: 23.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.3177, allocations: 19.14 kB / 456.3 MB, free: 23.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.3179, allocations: 256.7 kB / 456.6 MB, free: 23.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3179, allocations: 1.062 kB / 456.6 MB, free: 23.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008162/0.3188, allocations: 173.9 kB / 456.7 MB, free: 23.61 MB / 366.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.0001769/0.3189, allocations: 116.5 kB / 456.8 MB, free: 23.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.3205, allocations: 1.01 MB / 457.9 MB, free: 23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3205, allocations: 0.75 kB / 457.9 MB, free: 23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009995/0.3215, allocations: 0.8267 MB / 458.7 MB, free: 22.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.322, allocations: 83.98 kB / 458.8 MB, free: 22.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3242, allocations: 1.315 MB / 460.1 MB, free: 21.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3246, allocations: 0.8786 MB / 461 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.3247, allocations: 35.02 kB / 461 MB, free: 20.95 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3247, allocations: 0 / 461 MB, free: 20.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01609/0.3407, allocations: 13.89 MB / 474.9 MB, free: 16.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.379735233960673]