Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001492/0.001491, allocations: 184.4 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 90.97 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 8 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3206, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4438, allocations: 78.98 MB / 453.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4442, allocations: 71.97 kB / 453.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03822/0.4824, allocations: 8.823 MB / 462.4 MB, free: 8.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4825, allocations: 0 / 462.4 MB, free: 8.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.737e-05/0.4825, allocations: 12 kB / 462.4 MB, free: 8.828 MB / 346.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.00203/0.4846, allocations: 0.826 MB / 463.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4846, allocations: 8.031 kB / 463.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.4848, allocations: 67.16 kB / 463.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.4855, allocations: 372.9 kB / 463.7 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.4855, allocations: 37.31 kB / 463.7 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.4857, allocations: 48 kB / 463.8 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.4871, allocations: 0.5414 MB / 464.3 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.4872, allocations: 0 / 464.3 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.4873, allocations: 20 kB / 464.3 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.4873, allocations: 12 kB / 464.3 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.4888, allocations: 463.7 kB / 464.8 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/0.4933, allocations: 2.073 MB / 466.9 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.4948, allocations: 0.6328 MB / 467.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-05/0.4949, allocations: 4.562 kB / 467.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.495, allocations: 43.11 kB / 467.5 MB, free: 3.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.495, allocations: 0 / 467.5 MB, free: 3.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.006805/0.5018, allocations: 1.976 MB / 469.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5019, allocations: 59.97 kB / 469.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.5024, allocations: 316.9 kB / 469.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.5025, allocations: 37.7 kB / 469.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.5027, allocations: 283.5 kB / 470.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.503, allocations: 197.1 kB / 470.4 MB, free: 472 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.503, allocations: 12 kB / 470.4 MB, free: 460 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5032, allocations: 338.7 kB / 470.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.5038, allocations: 173 kB / 470.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.5045, allocations: 211.8 kB / 471.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/0.5051, allocations: 182.2 kB / 471.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5051, allocations: 7.938 kB / 471.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002053/0.5072, allocations: 0.6465 MB / 471.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5072, allocations: 7.938 kB / 471.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5072, allocations: 0 / 471.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.5085, allocations: 259.2 kB / 472.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.509, allocations: 63.91 kB / 472.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009292/0.5183, allocations: 6.843 MB / 479.1 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.519, allocations: 28.02 kB / 479.1 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.519, allocations: 12 kB / 479.1 MB, free: 7.129 MB / 362.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 () * 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 (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.0003621/0.5194, allocations: 169.9 kB / 479.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5196, allocations: 63.3 kB / 479.4 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.5197, allocations: 64.95 kB / 479.4 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.5198, allocations: 4 kB / 479.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.5198, allocations: 4 kB / 479.4 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5198, allocations: 3.984 kB / 479.5 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.5233, allocations: 1.338 MB / 480.8 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5233, allocations: 4 kB / 480.8 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.5239, allocations: 63.89 kB / 480.9 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.5251, allocations: 259.5 kB / 481.1 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.5251, allocations: 16 kB / 481.1 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009318/0.5345, allocations: 6.84 MB / 488 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.5345, allocations: 0 / 488 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.5376, allocations: 1.037 MB / 489 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.538, allocations: 164.5 kB / 489.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.5382, allocations: 12 kB / 489.2 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.5386, allocations: 24.08 kB / 489.2 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.5389, allocations: 52.47 kB / 489.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.5389, allocations: 16 kB / 489.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004238/0.5394, allocations: 255.2 kB / 489.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5394, allocations: 0 / 489.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001157/0.5406, allocations: 180 kB / 489.7 MB, free: 11.9 MB / 378.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 () * 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 (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.00022/0.5408, allocations: 115.2 kB / 489.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.5434, allocations: 1.045 MB / 490.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5434, allocations: 0 / 490.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.5452, allocations: 0.8492 MB / 491.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.5459, allocations: 79.19 kB / 491.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.5497, allocations: 1.565 MB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.5503, allocations: 0.8831 MB / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.5505, allocations: 27.44 kB / 494.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5505, allocations: 0 / 494.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of Templates: time 0.2779/0.8284, allocations: 13.28 MB / 0.4956 GB, free: 107.8 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches