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.001728/0.001728, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.00168/0.00168, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.406/1.406, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.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.001647/0.001647, allocations: 59.91 kB / 368.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2691, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005771/0.2748, allocations: 4.278 MB / 425.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2768, allocations: 0.9382 MB / 426.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.277, allocations: 8 kB / 426.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.2773, allocations: 95 kB / 426.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.2778, allocations: 198.3 kB / 426.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.2782, allocations: 175.6 kB / 426.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007958/0.279, allocations: 0.7322 MB / 427.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.2793, allocations: 155 kB / 427.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.2796, allocations: 290.9 kB / 427.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.28, allocations: 322.6 kB / 428 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.2801, allocations: 60 kB / 428.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.2802, allocations: 64 kB / 428.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2804, allocations: 143.4 kB / 428.3 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.2807, allocations: 334.3 kB / 428.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007774/0.2815, allocations: 0.7196 MB / 429.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2815, allocations: 0 / 429.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2815, allocations: 0 / 429.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.2815, allocations: 0 / 429.4 MB, free: 6.617 MB / 334.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.001625/0.2832, allocations: 0.9269 MB / 430.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2832, allocations: 12.03 kB / 430.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2833, allocations: 68.52 kB / 430.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.2839, allocations: 390.2 kB / 430.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.2839, allocations: 41.69 kB / 430.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.284, allocations: 48.38 kB / 430.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/0.285, allocations: 0.5493 MB / 431.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.285, allocations: 4 kB / 431.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.2851, allocations: 20 kB / 431.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2851, allocations: 12 kB / 431.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.286, allocations: 451.7 kB / 431.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.289, allocations: 2.031 MB / 433.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009275/0.2899, allocations: 0.5907 MB / 434.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.2905, allocations: 367.6 kB / 434.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.108e-05/0.2905, allocations: 4.562 kB / 434.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.2906, allocations: 43.12 kB / 434.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/0.2906, allocations: 0 / 434.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004767/0.2953, allocations: 2.021 MB / 436.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.2954, allocations: 63.97 kB / 437 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.2958, allocations: 361.6 kB / 437.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.2959, allocations: 37.7 kB / 437.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.296, allocations: 241.4 kB / 437.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2962, allocations: 210.2 kB / 437.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2964, allocations: 90.2 kB / 437.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2965, allocations: 354.8 kB / 438.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.2969, allocations: 169 kB / 438.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.2972, allocations: 211.8 kB / 438.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/0.2979, allocations: 380.8 kB / 439 MB, free: 12.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2979, allocations: 4 kB / 439 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001252/0.2992, allocations: 0.6541 MB / 439.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.2992, allocations: 7.938 kB / 439.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2992, allocations: 7.938 kB / 439.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007662/0.3, allocations: 255.2 kB / 439.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.3003, allocations: 63.89 kB / 440 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007509/0.3078, allocations: 7.513 MB / 447.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.3081, allocations: 20.02 kB / 447.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.3082, allocations: 16 kB / 447.5 MB, free: 3.453 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.0002729/0.3084, allocations: 169.9 kB / 447.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.3085, allocations: 55.67 kB / 447.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.3086, allocations: 64.94 kB / 447.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3086, allocations: 8 kB / 447.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3087, allocations: 8.344 kB / 447.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3087, allocations: 0 / 447.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.3109, allocations: 1.321 MB / 449.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3109, allocations: 0 / 449.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.3112, allocations: 67.89 kB / 449.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/0.3119, allocations: 259.1 kB / 449.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.3119, allocations: 8 kB / 449.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007775/0.3197, allocations: 7.51 MB / 457 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3197, allocations: 0 / 457 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.3216, allocations: 1.018 MB / 458 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.3219, allocations: 160.8 kB / 458.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.3219, allocations: 16 kB / 458.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.3222, allocations: 15.98 kB / 458.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.3224, allocations: 56.48 kB / 458.2 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.3224, allocations: 12 kB / 458.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.3227, allocations: 259.6 kB / 458.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3227, allocations: 0 / 458.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009018/0.3236, allocations: 172 kB / 458.7 MB, free: 7.609 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.0001842/0.3238, allocations: 116 kB / 458.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.3255, allocations: 1.018 MB / 459.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3255, allocations: 3.938 kB / 459.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.3266, allocations: 0.8218 MB / 460.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.3271, allocations: 92.89 kB / 460.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.3296, allocations: 1.292 MB / 462 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.3301, allocations: 0.8714 MB / 462.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.3303, allocations: 48.55 kB / 462.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.3303, allocations: 31.44 kB / 463 MB, free: 3.156 MB / 366.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3303, allocations: 4 kB / 463 MB, free: 3.152 MB / 366.1 MB Notification: Performance of Templates: time 0.01693/0.3473, allocations: 9.434 MB / 472.4 MB, free: 9.781 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.074424681253731]