Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 176.2 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000803/0.0008028, allocations: 78.73 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.71e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.0874, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/0.379, allocations: 78.46 MB / 441.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.3793, allocations: 73.19 kB / 441.6 MB, free: 1.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02404/0.4034, allocations: 8.746 MB / 450.3 MB, free: 9.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.908e-06/0.4034, allocations: 0 / 450.3 MB, free: 9.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.696e-05/0.4035, allocations: 15.94 kB / 450.4 MB, free: 9.809 MB / 330.7 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.001411/0.4049, allocations: 0.7514 MB / 451.1 MB, free: 9.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4049, allocations: 8.031 kB / 451.1 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.4051, allocations: 67.25 kB / 451.2 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.4057, allocations: 373.2 kB / 451.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4058, allocations: 16 kB / 451.6 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.4059, allocations: 28 kB / 451.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006738/0.4065, allocations: 375.9 kB / 452 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/0.4073, allocations: 446.7 kB / 452.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4073, allocations: 7.938 kB / 452.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4073, allocations: 0 / 452.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.4073, allocations: 16 kB / 452.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.41, allocations: 1.973 MB / 454.4 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.4107, allocations: 0.5774 MB / 455 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.4111, allocations: 354.5 kB / 455.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.4111, allocations: 8.562 kB / 455.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.4112, allocations: 38.94 kB / 455.4 MB, free: 5.625 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 1.913e-06/0.4112, allocations: 0 / 455.4 MB, free: 5.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.001796/0.413, allocations: 1.146 MB / 456.5 MB, free: 4.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.413, allocations: 55.97 kB / 456.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.4133, allocations: 270.9 kB / 456.8 MB, free: 4.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.4134, allocations: 25.7 kB / 456.9 MB, free: 4.352 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4135, allocations: 237.1 kB / 457.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.4136, allocations: 190.4 kB / 457.3 MB, free: 4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.4137, allocations: 0 / 457.3 MB, free: 4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4138, allocations: 357.1 kB / 457.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.414, allocations: 136.9 kB / 457.8 MB, free: 3.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.4143, allocations: 178.3 kB / 457.9 MB, free: 3.473 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.4145, allocations: 153 kB / 458.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4145, allocations: 0 / 458.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009052/0.4154, allocations: 0.5734 MB / 458.7 MB, free: 2.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4155, allocations: 8.031 kB / 458.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4155, allocations: 0 / 458.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/0.4162, allocations: 244.1 kB / 458.9 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.4165, allocations: 78.47 kB / 459 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005608/0.4221, allocations: 6.509 MB / 465.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.4224, allocations: 16.08 kB / 465.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.4225, allocations: 19.23 kB / 465.5 MB, free: 12.32 MB / 346.7 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 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.4226, allocations: 110.8 kB / 465.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/0.4227, allocations: 47.44 kB / 465.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.4228, allocations: 55.5 kB / 465.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4229, allocations: 4 kB / 465.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.4229, allocations: 4 kB / 465.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4229, allocations: 11.94 kB / 465.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.4245, allocations: 1.172 MB / 466.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4245, allocations: 4 kB / 466.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.4248, allocations: 59.84 kB / 467 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005889/0.4254, allocations: 244.3 kB / 467.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.4254, allocations: 8.109 kB / 467.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005382/0.4308, allocations: 6.518 MB / 473.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4308, allocations: 0 / 473.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.4321, allocations: 0.9142 MB / 474.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.4323, allocations: 153.8 kB / 474.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.4324, allocations: 7.938 kB / 474.8 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.4327, allocations: 12.09 kB / 474.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.4328, allocations: 54.42 kB / 474.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.4328, allocations: 18.92 kB / 474.9 MB, free: 3.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.4331, allocations: 214.6 kB / 475.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4331, allocations: 0 / 475.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008884/0.434, allocations: 156 kB / 475.3 MB, free: 3.387 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.4342, allocations: 103.2 kB / 475.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.4354, allocations: 0.9342 MB / 476.3 MB, free: 2.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4354, allocations: 0 / 476.3 MB, free: 2.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009056/0.4364, allocations: 0.7659 MB / 477.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.4367, allocations: 47.25 kB / 477.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.4386, allocations: 0.9559 MB / 478.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.4391, allocations: 0.8875 MB / 479 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.4393, allocations: 48.36 kB / 479 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.4394, allocations: 27.44 kB / 479 MB, free: 15.86 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4394, allocations: 3.938 kB / 479 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Templates: time 0.01296/0.4523, allocations: 7.07 MB / 486.1 MB, free: 8.797 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches