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.001467/0.001467, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.81 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 50.52 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005684/0.1235, allocations: 4.283 MB / 363.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1256, allocations: 1.009 MB / 364.2 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.1259, allocations: 12 kB / 364.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1262, allocations: 99 kB / 364.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.1267, allocations: 190.2 kB / 364.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1271, allocations: 183.8 kB / 364.7 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000674/0.1278, allocations: 0.7361 MB / 365.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.1282, allocations: 227.1 kB / 365.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.1286, allocations: 298.8 kB / 365.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.129, allocations: 318.6 kB / 366.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.129, allocations: 60 kB / 366.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1292, allocations: 71.98 kB / 366.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1293, allocations: 151.4 kB / 366.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.1296, allocations: 330.3 kB / 366.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006624/0.1303, allocations: 0.7162 MB / 367.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1303, allocations: 0 / 367.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1303, allocations: 3.938 kB / 367.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1303, allocations: 0 / 367.5 MB, free: 4.668 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.001458/0.1318, allocations: 0.9196 MB / 368.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1318, allocations: 8.031 kB / 368.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.1322, allocations: 96.16 kB / 368.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.1328, allocations: 401.8 kB / 369 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.1329, allocations: 41.62 kB / 369 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.133, allocations: 60.3 kB / 369.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008874/0.1339, allocations: 0.5455 MB / 369.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1339, allocations: 3.938 kB / 369.6 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.1339, allocations: 20 kB / 369.6 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.134, allocations: 12 kB / 369.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008428/0.1348, allocations: 447.7 kB / 370.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1999/0.3347, allocations: 2.015 MB / 372.1 MB, free: 19.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3359, allocations: 0.6456 MB / 372.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.3366, allocations: 399 kB / 373.1 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.3367, allocations: 6.5 kB / 373.1 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3367, allocations: 44.08 kB / 373.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 4.138e-06/0.3367, allocations: 0 / 373.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004949/0.3417, allocations: 2.036 MB / 375.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3418, allocations: 61.69 kB / 375.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.3422, allocations: 372.8 kB / 375.6 MB, free: 18.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3423, allocations: 36.02 kB / 375.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3424, allocations: 232.6 kB / 375.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.3426, allocations: 200.1 kB / 376.1 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3427, allocations: 98.81 kB / 376.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.3428, allocations: 355.6 kB / 376.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.3431, allocations: 164.2 kB / 376.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.3435, allocations: 217.8 kB / 376.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.3442, allocations: 381.9 kB / 377.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3442, allocations: 3.938 kB / 377.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001214/0.3454, allocations: 0.667 MB / 378 MB, free: 17.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3455, allocations: 6.469 kB / 378 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3455, allocations: 0 / 378 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007763/0.3463, allocations: 261.5 kB / 378.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.3466, allocations: 62.09 kB / 378.3 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.3525, allocations: 7.494 MB / 385.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.353, allocations: 17.97 kB / 385.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.353, allocations: 20.45 kB / 385.8 MB, free: 10.17 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.0003187/0.3533, allocations: 170.2 kB / 386 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.3535, allocations: 52.84 kB / 386 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.3536, allocations: 68.56 kB / 386.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.3536, allocations: 10.03 kB / 386.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.3537, allocations: 1.812 kB / 386.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3537, allocations: 2.812 kB / 386.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.3562, allocations: 1.341 MB / 387.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3562, allocations: 0 / 387.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.3565, allocations: 58.81 kB / 387.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007141/0.3572, allocations: 256 kB / 387.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.3573, allocations: 13.22 kB / 387.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/0.3631, allocations: 7.514 MB / 395.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3631, allocations: 0 / 395.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3649, allocations: 1.03 MB / 396.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.3652, allocations: 162.5 kB / 396.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.3652, allocations: 10.84 kB / 396.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.3655, allocations: 17.69 kB / 396.5 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.3657, allocations: 58 kB / 396.6 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3658, allocations: 15.09 kB / 396.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003439/0.3661, allocations: 264.4 kB / 396.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3661, allocations: 0 / 396.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3672, allocations: 172 kB / 397 MB, free: 1.355 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.0001728/0.3674, allocations: 117 kB / 397.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.3691, allocations: 1.039 MB / 398.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3691, allocations: 0 / 398.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.3703, allocations: 0.8446 MB / 399 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.3708, allocations: 91.84 kB / 399.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.3733, allocations: 1.271 MB / 400.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.374, allocations: 0.8823 MB / 401.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.3743, allocations: 54.45 kB / 401.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.3744, allocations: 29.08 kB / 401.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3744, allocations: 3.938 kB / 401.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of Templates: time 0.01744/0.3918, allocations: 8.975 MB / 410.3 MB, free: 9.406 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 -s gbode -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/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_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches