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.001737/0.001737, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001986/0.001986, allocations: 191.3 kB / 23.71 MB, free: 4.406 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.479/1.479, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.00178/0.00178, allocations: 51.91 kB / 370.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2711, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005507/0.2766, allocations: 3.825 MB / 426.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2783, allocations: 0.9074 MB / 427.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.2785, allocations: 8 kB / 427.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.2788, allocations: 99 kB / 427.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.2793, allocations: 198.3 kB / 428.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.2797, allocations: 171.7 kB / 428.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.2805, allocations: 0.7244 MB / 429 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.2808, allocations: 147.7 kB / 429.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.2812, allocations: 290.9 kB / 429.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.2816, allocations: 290.5 kB / 429.7 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.2817, allocations: 64 kB / 429.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.2818, allocations: 60 kB / 429.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.282, allocations: 147.5 kB / 430 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.2823, allocations: 270.7 kB / 430.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007976/0.2831, allocations: 0.7221 MB / 431 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2831, allocations: 0 / 431 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2831, allocations: 0 / 431 MB, free: 6.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.2831, allocations: 4 kB / 431 MB, free: 6.551 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.001676/0.2847, allocations: 0.8555 MB / 431.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2848, allocations: 8.031 kB / 431.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2849, allocations: 72.52 kB / 431.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006247/0.2855, allocations: 336.3 kB / 432.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.2856, allocations: 37.69 kB / 432.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.2857, allocations: 48.38 kB / 432.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.2866, allocations: 0.5454 MB / 432.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2866, allocations: 4 kB / 432.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.2867, allocations: 20 kB / 432.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.2867, allocations: 16 kB / 432.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.2876, allocations: 443.7 kB / 433.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.2904, allocations: 1.781 MB / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009554/0.2913, allocations: 0.5189 MB / 435.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.2919, allocations: 358 kB / 436 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.2919, allocations: 4.5 kB / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.292, allocations: 39.06 kB / 436 MB, free: 1.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.214e-06/0.292, allocations: 0 / 436 MB, free: 1.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004275/0.2963, allocations: 1.713 MB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2963, allocations: 59.91 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.2967, allocations: 333.7 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.2967, allocations: 41.64 kB / 438.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.2969, allocations: 241.3 kB / 438.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.297, allocations: 214.2 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.2972, allocations: 90.3 kB / 438.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2973, allocations: 358.7 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.2977, allocations: 165.2 kB / 439.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.298, allocations: 216.8 kB / 439.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.2987, allocations: 390.1 kB / 439.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2987, allocations: 0 / 439.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001279/0.3, allocations: 0.6563 MB / 440.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3, allocations: 8 kB / 440.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.3, allocations: 3.938 kB / 440.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000707/0.3008, allocations: 255.2 kB / 440.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3011, allocations: 55.91 kB / 440.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/0.308, allocations: 6.947 MB / 447.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.3083, allocations: 28.08 kB / 447.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3083, allocations: 16 kB / 447.8 MB, free: 5.047 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.0002421/0.3085, allocations: 177.8 kB / 447.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.3086, allocations: 47.72 kB / 448 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.3087, allocations: 60.75 kB / 448 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3087, allocations: 4 kB / 448.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3087, allocations: 4 kB / 448.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3088, allocations: 7.984 kB / 448.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.3108, allocations: 1.156 MB / 449.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3108, allocations: 4 kB / 449.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3111, allocations: 59.91 kB / 449.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006829/0.3118, allocations: 267.1 kB / 449.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.3118, allocations: 12 kB / 449.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006808/0.3187, allocations: 6.946 MB / 456.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3187, allocations: 96 / 456.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.3205, allocations: 1.021 MB / 457.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3206, allocations: 79.7 kB / 457.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.3207, allocations: 12 kB / 457.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3209, allocations: 16 kB / 457.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3211, allocations: 52.39 kB / 457.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.3211, allocations: 15.98 kB / 457.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.3214, allocations: 239.2 kB / 457.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3214, allocations: 0 / 457.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008204/0.3222, allocations: 172 kB / 458.1 MB, free: 10.21 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.0001475/0.3223, allocations: 120.7 kB / 458.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.3239, allocations: 1.005 MB / 459.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3239, allocations: 0 / 459.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.325, allocations: 0.8214 MB / 460 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3255, allocations: 77.47 kB / 460.1 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.328, allocations: 1.297 MB / 461.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3283, allocations: 271.5 kB / 461.7 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.3285, allocations: 48.36 kB / 461.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.3286, allocations: 27.44 kB / 461.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3286, allocations: 0 / 461.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of Templates: time 0.01737/0.3459, allocations: 9.012 MB / 470.8 MB, free: 13.48 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.227523593232036]