Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001769/0.001769, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002131/0.002131, allocations: 213.2 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2317, allocations: 53.36 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005716/0.2374, allocations: 3.843 MB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2395, allocations: 0.985 MB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.24, allocations: 15.94 kB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.2403, allocations: 91.08 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007131/0.241, allocations: 202.2 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.2415, allocations: 191.7 kB / 437.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009819/0.2425, allocations: 0.7399 MB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.2429, allocations: 147.7 kB / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005289/0.2434, allocations: 298.9 kB / 438.9 MB, free: 196 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.2439, allocations: 286.5 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.244, allocations: 60 kB / 439.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.2442, allocations: 64 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.2444, allocations: 155.4 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.2448, allocations: 274.7 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008503/0.2456, allocations: 0.7313 MB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2456, allocations: 4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2456, allocations: 0 / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.2456, allocations: 0 / 440.4 MB, free: 14.63 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.001664/0.2473, allocations: 0.8582 MB / 441.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2473, allocations: 8.031 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.2477, allocations: 96.48 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.2484, allocations: 348.3 kB / 441.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.2484, allocations: 37.69 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/0.2485, allocations: 52.33 kB / 441.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/0.2494, allocations: 0.5532 MB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2495, allocations: 0 / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.2495, allocations: 23.94 kB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.2495, allocations: 16 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.2504, allocations: 447.7 kB / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.2532, allocations: 1.781 MB / 444.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/0.2541, allocations: 0.5073 MB / 445.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.2547, allocations: 362 kB / 445.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.2548, allocations: 12.5 kB / 445.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2548, allocations: 35.06 kB / 445.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.385e-06/0.2548, allocations: 4 kB / 445.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00458/0.2594, allocations: 1.725 MB / 447.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.2594, allocations: 55.91 kB / 447.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.2599, allocations: 337.7 kB / 447.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.2599, allocations: 33.7 kB / 447.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.2601, allocations: 253.2 kB / 447.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.2603, allocations: 214.2 kB / 448.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.2604, allocations: 98.3 kB / 448.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.2606, allocations: 350.8 kB / 448.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.261, allocations: 169.2 kB / 448.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.2614, allocations: 208.8 kB / 448.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007478/0.2621, allocations: 382.1 kB / 449.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2621, allocations: 4 kB / 449.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001362/0.2635, allocations: 0.6563 MB / 450 MB, free: 4.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2635, allocations: 6.188 kB / 450 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2635, allocations: 0 / 450 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007822/0.2643, allocations: 259.1 kB / 450.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.2646, allocations: 63.89 kB / 450.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007568/0.2721, allocations: 6.946 MB / 457.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.2725, allocations: 20.02 kB / 457.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.2725, allocations: 12 kB / 457.3 MB, free: 13.07 MB / 366.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.0002818/0.2728, allocations: 186.1 kB / 457.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.2729, allocations: 43.72 kB / 457.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.273, allocations: 72.78 kB / 457.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.273, allocations: 4 kB / 457.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.273, allocations: 4 kB / 457.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.273, allocations: 0 / 457.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.2752, allocations: 1.167 MB / 458.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2752, allocations: 0 / 458.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.2755, allocations: 55.91 kB / 458.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006784/0.2762, allocations: 259.4 kB / 459 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.2762, allocations: 15.98 kB / 459.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007125/0.2833, allocations: 6.95 MB / 466 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2833, allocations: 4.078 kB / 466 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.2852, allocations: 1.013 MB / 467 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.2854, allocations: 79.66 kB / 467.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.2855, allocations: 12 kB / 467.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.2858, allocations: 19.98 kB / 467.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.2859, allocations: 56.39 kB / 467.2 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.2859, allocations: 12 kB / 467.2 MB, free: 2.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002866/0.2862, allocations: 243.2 kB / 467.4 MB, free: 2.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2862, allocations: 3.938 kB / 467.4 MB, free: 2.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009431/0.2872, allocations: 172 kB / 467.6 MB, free: 2.215 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.0001737/0.2873, allocations: 111.2 kB / 467.7 MB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.289, allocations: 1.009 MB / 468.7 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.289, allocations: 4 kB / 468.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.2902, allocations: 0.8369 MB / 469.6 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.2907, allocations: 81.58 kB / 469.6 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.2931, allocations: 1.311 MB / 471 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.2934, allocations: 283.6 kB / 471.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.2935, allocations: 31.44 kB / 471.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2935, allocations: 0 / 471.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of Templates: time 0.01784/0.3113, allocations: 14.1 MB / 485.4 MB, free: 304 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.777853643056005]