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.001332/0.001332, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001508/0.001508, allocations: 185.8 kB / 24.45 MB, free: 3.961 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.476/1.476, allocations: 225.7 MB / 253.3 MB, free: 12.83 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.001636/0.001636, allocations: 59.84 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2452, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005401/0.2506, allocations: 3.809 MB / 427.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.2523, allocations: 0.911 MB / 428.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.2525, allocations: 8 kB / 428.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.2528, allocations: 99 kB / 428.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.2533, allocations: 194.3 kB / 428.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.2536, allocations: 175.7 kB / 429 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.2544, allocations: 0.7205 MB / 429.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.2547, allocations: 155.6 kB / 429.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.255, allocations: 290.9 kB / 430.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.2554, allocations: 286.5 kB / 430.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.677e-05/0.2555, allocations: 60 kB / 430.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.2556, allocations: 64 kB / 430.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.2558, allocations: 151.4 kB / 430.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.2561, allocations: 270.7 kB / 431 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007472/0.2568, allocations: 0.7196 MB / 431.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2568, allocations: 0 / 431.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2568, allocations: 0 / 431.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.2568, allocations: 0 / 431.7 MB, free: 6.566 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.001539/0.2584, allocations: 0.8555 MB / 432.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2584, allocations: 8.031 kB / 432.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.2585, allocations: 72.52 kB / 432.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.2592, allocations: 328.3 kB / 433 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.2592, allocations: 41.69 kB / 433 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.2593, allocations: 56.31 kB / 433.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009403/0.2602, allocations: 0.5454 MB / 433.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2602, allocations: 0 / 433.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.2603, allocations: 20 kB / 433.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.2603, allocations: 15.98 kB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.2613, allocations: 451.7 kB / 434.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.2642, allocations: 1.781 MB / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009033/0.2651, allocations: 0.5151 MB / 436.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.2657, allocations: 362 kB / 436.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.2658, allocations: 12.48 kB / 436.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.2658, allocations: 39.06 kB / 436.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.404e-06/0.2658, allocations: 0 / 436.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004511/0.2703, allocations: 1.713 MB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2704, allocations: 59.91 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.2708, allocations: 325.7 kB / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.2708, allocations: 37.7 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.271, allocations: 245.3 kB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.2712, allocations: 218.1 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.2714, allocations: 94.3 kB / 439.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2715, allocations: 350.8 kB / 439.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.2719, allocations: 165.2 kB / 440 MB, free: 14.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.2723, allocations: 216.8 kB / 440.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.273, allocations: 382.1 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.273, allocations: 4 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001298/0.2743, allocations: 0.6485 MB / 441.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2743, allocations: 7.984 kB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2743, allocations: 3.938 kB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007639/0.2751, allocations: 263.2 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.2754, allocations: 59.89 kB / 441.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.2826, allocations: 6.954 MB / 448.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.2829, allocations: 24.02 kB / 448.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.2829, allocations: 16 kB / 448.5 MB, free: 5.051 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.0002632/0.2832, allocations: 177.9 kB / 448.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.2833, allocations: 43.72 kB / 448.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.2834, allocations: 64.75 kB / 448.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2834, allocations: 4 kB / 448.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.2834, allocations: 4 kB / 448.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2834, allocations: 3.984 kB / 448.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.2856, allocations: 1.159 MB / 450 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2856, allocations: 0 / 450 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.2859, allocations: 63.89 kB / 450 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007019/0.2866, allocations: 267.3 kB / 450.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.2866, allocations: 12 kB / 450.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007124/0.2937, allocations: 6.942 MB / 457.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2937, allocations: 0 / 457.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.2956, allocations: 1.017 MB / 458.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.2959, allocations: 79.7 kB / 458.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.2959, allocations: 16 kB / 458.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.2962, allocations: 19.92 kB / 458.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.2964, allocations: 52.39 kB / 458.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.2964, allocations: 16 kB / 458.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002816/0.2967, allocations: 239.2 kB / 458.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2967, allocations: 0 / 458.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000928/0.2976, allocations: 172 kB / 458.9 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.0001568/0.2978, allocations: 111.2 kB / 459 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.2996, allocations: 1.009 MB / 460 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2996, allocations: 0 / 460 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.3008, allocations: 0.8176 MB / 460.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.3013, allocations: 77.56 kB / 460.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.3039, allocations: 1.336 MB / 462.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3042, allocations: 275.5 kB / 462.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3043, allocations: 27.44 kB / 462.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3043, allocations: 0 / 462.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of Templates: time 0.01925/0.3236, allocations: 13.91 MB / 476.4 MB, free: 8.496 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 9.10581650910899]