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.001354/0.001354, allocations: 120.5 kB / 18.41 MB, free: 4.664 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.001393/0.001393, allocations: 190.7 kB / 21.35 MB, free: 1.734 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.418/1.418, allocations: 222.9 MB / 247 MB, free: 4.207 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.001573/0.001574, allocations: 47.92 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08946, allocations: 49.44 MB / 408.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005489/0.09498, allocations: 4.258 MB / 412.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.09669, allocations: 0.9152 MB / 413.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.09691, allocations: 12 kB / 413.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.09719, allocations: 99 kB / 413.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.09769, allocations: 190.3 kB / 413.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.09801, allocations: 159.8 kB / 413.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007629/0.09878, allocations: 0.7322 MB / 414.5 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.09913, allocations: 223.1 kB / 414.7 MB, free: 196 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.0995, allocations: 275 kB / 415 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.09992, allocations: 334.5 kB / 415.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1, allocations: 60 kB / 415.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1001, allocations: 63.94 kB / 415.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1003, allocations: 151.4 kB / 415.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.1007, allocations: 322.4 kB / 415.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.1014, allocations: 0.7196 MB / 416.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1015, allocations: 0 / 416.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1015, allocations: 0 / 416.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1015, allocations: 0 / 416.6 MB, free: 14.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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001578/0.1031, allocations: 0.9269 MB / 417.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1031, allocations: 8.031 kB / 417.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1032, allocations: 68.52 kB / 417.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.1038, allocations: 394.2 kB / 418 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.1038, allocations: 37.69 kB / 418 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.1039, allocations: 52.38 kB / 418.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009516/0.1049, allocations: 0.5415 MB / 418.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1049, allocations: 4 kB / 418.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.105, allocations: 23.94 kB / 418.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.105, allocations: 16 kB / 418.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.1059, allocations: 447.7 kB / 419.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.1088, allocations: 2.031 MB / 421.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.1098, allocations: 0.6415 MB / 421.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.1105, allocations: 402.9 kB / 422.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.1105, allocations: 8.562 kB / 422.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1106, allocations: 43.12 kB / 422.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.214e-06/0.1106, allocations: 0 / 422.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004739/0.1153, allocations: 2.041 MB / 424.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1154, allocations: 59.97 kB / 424.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.1158, allocations: 369.6 kB / 424.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.1159, allocations: 37.7 kB / 424.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1161, allocations: 233.4 kB / 424.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.1162, allocations: 206.2 kB / 425.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.1164, allocations: 90.2 kB / 425.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1166, allocations: 358.8 kB / 425.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.117, allocations: 165 kB / 425.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.1174, allocations: 219.8 kB / 426 MB, free: 4.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/0.1181, allocations: 372.9 kB / 426.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1181, allocations: 0 / 426.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001323/0.1195, allocations: 0.6698 MB / 427 MB, free: 3.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1195, allocations: 7.938 kB / 427 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1195, allocations: 4 kB / 427 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007957/0.1203, allocations: 259.2 kB / 427.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.1206, allocations: 59.89 kB / 427.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1869/0.3075, allocations: 7.503 MB / 434.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.3079, allocations: 16.97 kB / 434.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.3079, allocations: 21.53 kB / 434.8 MB, free: 18.23 MB / 350.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.0002079/0.3082, allocations: 177.7 kB / 435 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.3082, allocations: 50.19 kB / 435.1 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.3084, allocations: 69.81 kB / 435.1 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3084, allocations: 5.062 kB / 435.1 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.3084, allocations: 1.203 kB / 435.1 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3084, allocations: 4.438 kB / 435.2 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.3104, allocations: 1.34 MB / 436.5 MB, free: 17.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3104, allocations: 2.281 kB / 436.5 MB, free: 17.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.3107, allocations: 57.42 kB / 436.5 MB, free: 17.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/0.3113, allocations: 260.2 kB / 436.8 MB, free: 17.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.3114, allocations: 11.97 kB / 436.8 MB, free: 17.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005495/0.3169, allocations: 7.514 MB / 444.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3169, allocations: 1.672 kB / 444.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.3188, allocations: 1.03 MB / 445.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.319, allocations: 161.5 kB / 445.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.3191, allocations: 20.44 kB / 445.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3194, allocations: 17.78 kB / 445.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.3195, allocations: 49.14 kB / 445.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3196, allocations: 15.03 kB / 445.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002835/0.3199, allocations: 259.6 kB / 445.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3199, allocations: 0 / 445.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008744/0.3208, allocations: 177.6 kB / 446 MB, free: 11.34 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.0001219/0.3209, allocations: 112.3 kB / 446.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.3225, allocations: 1.037 MB / 447.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3225, allocations: 0 / 447.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.3235, allocations: 0.8523 MB / 448 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.3241, allocations: 92.91 kB / 448.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.3262, allocations: 1.304 MB / 449.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3265, allocations: 0.876 MB / 450.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.3267, allocations: 35.39 kB / 450.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3267, allocations: 0 / 450.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Templates: time 0.01648/0.3431, allocations: 13.87 MB / 464.2 MB, free: 3.766 MB / 350.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.90616846701596]