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.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.001478/0.001478, allocations: 84.88 kB / 22 MB, free: 4.754 MB / 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.001477/0.001477, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.372/1.372, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 59.91 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2541, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005655/0.2597, allocations: 3.759 MB / 352.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2614, allocations: 0.9353 MB / 353.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.2616, allocations: 8 kB / 353.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.2618, allocations: 99 kB / 353.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.2623, allocations: 198.2 kB / 353.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.2626, allocations: 159.8 kB / 353.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.2635, allocations: 0.7359 MB / 354.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.2638, allocations: 147.7 kB / 354.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.2641, allocations: 286.9 kB / 354.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004379/0.2646, allocations: 294.5 kB / 355.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2647, allocations: 64 kB / 355.2 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.2648, allocations: 60 kB / 355.2 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.265, allocations: 147.5 kB / 355.4 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.2653, allocations: 274.7 kB / 355.7 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007844/0.266, allocations: 0.7181 MB / 356.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.266, allocations: 3.938 kB / 356.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.266, allocations: 4 kB / 356.4 MB, free: 7.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.2661, allocations: 3.938 kB / 356.4 MB, free: 7.621 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.001613/0.2677, allocations: 0.8633 MB / 357.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2677, allocations: 11.98 kB / 357.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2678, allocations: 76.52 kB / 357.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.2684, allocations: 328.3 kB / 357.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.2684, allocations: 37.69 kB / 357.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.2685, allocations: 52.36 kB / 357.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.2695, allocations: 0.5454 MB / 358.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2695, allocations: 0 / 358.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.2696, allocations: 20 kB / 358.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2696, allocations: 16 kB / 358.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.2705, allocations: 443.7 kB / 358.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.2734, allocations: 1.781 MB / 360.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.2744, allocations: 0.515 MB / 361.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.275, allocations: 358.4 kB / 361.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.2751, allocations: 4.5 kB / 361.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.2751, allocations: 39.06 kB / 361.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.145e-06/0.2751, allocations: 0 / 361.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004529/0.2796, allocations: 1.721 MB / 363.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.2797, allocations: 59.91 kB / 363.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.2801, allocations: 333.7 kB / 363.5 MB, free: 216 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.2801, allocations: 41.64 kB / 363.6 MB, free: 168 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.2803, allocations: 237.5 kB / 363.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.2805, allocations: 210.1 kB / 364 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.2807, allocations: 94.3 kB / 364.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2809, allocations: 350.8 kB / 364.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.2813, allocations: 165.2 kB / 364.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.2817, allocations: 220.8 kB / 364.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.2825, allocations: 386.1 kB / 365.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2825, allocations: 0 / 365.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00134/0.2838, allocations: 0.6524 MB / 365.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.2838, allocations: 8 kB / 365.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2838, allocations: 0 / 365.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/0.2846, allocations: 259.1 kB / 366.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.2849, allocations: 67.92 kB / 366.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007897/0.2928, allocations: 6.954 MB / 373.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.2931, allocations: 20.02 kB / 373.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.2931, allocations: 16 kB / 373.2 MB, free: 6.094 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.0002645/0.2934, allocations: 169.8 kB / 373.3 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.2935, allocations: 47.72 kB / 373.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.2936, allocations: 64.73 kB / 373.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2936, allocations: 7.938 kB / 373.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.2936, allocations: 12.05 kB / 373.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2936, allocations: 0 / 373.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.2958, allocations: 1.159 MB / 374.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.2958, allocations: 3.984 kB / 374.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.2961, allocations: 59.97 kB / 374.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006892/0.2968, allocations: 259.4 kB / 375 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.2968, allocations: 15.94 kB / 375 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007537/0.3044, allocations: 6.934 MB / 381.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3044, allocations: 0 / 381.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.3065, allocations: 1.021 MB / 382.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.3067, allocations: 83.66 kB / 383 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.3068, allocations: 12 kB / 383 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.307, allocations: 19.98 kB / 383 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.3072, allocations: 52.39 kB / 383.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.3072, allocations: 16 kB / 383.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.3075, allocations: 239.2 kB / 383.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3075, allocations: 0 / 383.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009153/0.3084, allocations: 172 kB / 383.5 MB, free: 11.27 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.0001547/0.3085, allocations: 115.2 kB / 383.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.3103, allocations: 1.013 MB / 384.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3103, allocations: 0 / 384.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.3116, allocations: 0.8292 MB / 385.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.3121, allocations: 81.62 kB / 385.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.3146, allocations: 1.271 MB / 386.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3149, allocations: 279.5 kB / 387.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.3151, allocations: 44.36 kB / 387.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.3151, allocations: 32.48 kB / 387.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3151, allocations: 0 / 387.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Templates: time 0.01699/0.3321, allocations: 8.39 MB / 395.5 MB, free: 15.04 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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.059561806963757]