Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 62.42 kB / 306.3 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1429, allocations: 50.53 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005512/0.1485, allocations: 4.299 MB / 361.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.1512, allocations: 1.02 MB / 362.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.1517, allocations: 8 kB / 362.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.1521, allocations: 71.44 kB / 362.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006837/0.1528, allocations: 166.6 kB / 362.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.1533, allocations: 163.8 kB / 362.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009271/0.1543, allocations: 0.7205 MB / 363.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.1547, allocations: 192.1 kB / 363.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.1553, allocations: 270.8 kB / 363.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003916/0.1557, allocations: 322.6 kB / 364 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.701e-05/0.1557, allocations: 40 kB / 364 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1559, allocations: 52 kB / 364.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1561, allocations: 123.5 kB / 364.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.1564, allocations: 322.2 kB / 364.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006663/0.157, allocations: 0.6733 MB / 365.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1571, allocations: 0 / 365.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1571, allocations: 0 / 365.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1571, allocations: 0 / 365.2 MB, free: 5.832 MB / 302.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.001655/0.1587, allocations: 0.9235 MB / 366.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.1588, allocations: 8.031 kB / 366.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.1593, allocations: 92.16 kB / 366.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.1599, allocations: 401.7 kB / 366.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.1599, allocations: 37.69 kB / 366.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-05/0.16, allocations: 56.36 kB / 366.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.161, allocations: 0.5415 MB / 367.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1611, allocations: 0 / 367.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.1611, allocations: 23.98 kB / 367.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1611, allocations: 16 kB / 367.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008566/0.162, allocations: 447.7 kB / 367.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.1648, allocations: 2.038 MB / 369.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009245/0.1658, allocations: 0.6502 MB / 370.4 MB, free: 400 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2096/0.3754, allocations: 401.8 kB / 370.8 MB, free: 20.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3755, allocations: 5.938 kB / 370.8 MB, free: 20.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.3756, allocations: 38.16 kB / 370.8 MB, free: 20.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 4.759e-06/0.3756, allocations: 0 / 370.8 MB, free: 20.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.005023/0.3806, allocations: 2.035 MB / 372.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.3807, allocations: 58.3 kB / 372.9 MB, free: 19.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.3811, allocations: 369 kB / 373.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.3811, allocations: 35.48 kB / 373.3 MB, free: 19.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3813, allocations: 237.4 kB / 373.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3814, allocations: 198.9 kB / 373.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3815, allocations: 90.75 kB / 373.8 MB, free: 19.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.3816, allocations: 357.8 kB / 374.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.382, allocations: 168.5 kB / 374.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.3824, allocations: 214.3 kB / 374.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/0.3831, allocations: 383.6 kB / 374.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3831, allocations: 0 / 374.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001138/0.3843, allocations: 0.6676 MB / 375.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3843, allocations: 5.5 kB / 375.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3843, allocations: 3.297 kB / 375.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.385, allocations: 252.8 kB / 375.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.3854, allocations: 65.23 kB / 375.9 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005001/0.3904, allocations: 6.769 MB / 382.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.3906, allocations: 19.28 kB / 382.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.3907, allocations: 20.09 kB / 382.7 MB, free: 12 MB / 302.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.0002049/0.3909, allocations: 178.9 kB / 382.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.391, allocations: 47.88 kB / 383 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3911, allocations: 69.27 kB / 383 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3911, allocations: 6.078 kB / 383 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.3911, allocations: 2.281 kB / 383 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3911, allocations: 4.281 kB / 383 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.3932, allocations: 1.349 MB / 384.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3933, allocations: 4 kB / 384.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.3936, allocations: 57.03 kB / 384.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007134/0.3943, allocations: 259.5 kB / 384.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.3943, allocations: 19.05 kB / 384.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005105/0.3994, allocations: 6.778 MB / 391.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3995, allocations: 0 / 391.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.4013, allocations: 1.03 MB / 392.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.4015, allocations: 161.7 kB / 392.7 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.4016, allocations: 15.25 kB / 392.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.4018, allocations: 13.73 kB / 392.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.402, allocations: 57.42 kB / 392.8 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.402, allocations: 18.91 kB / 392.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.4024, allocations: 260.9 kB / 393 MB, free: 3.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4024, allocations: 0 / 393 MB, free: 3.887 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009472/0.4033, allocations: 175.5 kB / 393.2 MB, free: 3.863 MB / 302.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.0001482/0.4035, allocations: 111.5 kB / 393.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.4051, allocations: 1.026 MB / 394.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4051, allocations: 8 kB / 394.4 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.4062, allocations: 0.8329 MB / 395.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.4069, allocations: 80.98 kB / 395.3 MB, free: 2.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.4097, allocations: 1.501 MB / 396.8 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.4104, allocations: 0.8866 MB / 397.7 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.4107, allocations: 54.92 kB / 397.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.4108, allocations: 28.25 kB / 397.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4108, allocations: 0 / 397.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of Templates: time 0.02013/0.431, allocations: 8.21 MB / 405.9 MB, free: 13.19 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches