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.002154/0.002154, allocations: 177.6 kB / 17.41 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.883/3.883, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.001117/0.001117, allocations: 96.08 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000682/0.0006824, allocations: 8 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6644/0.6652, allocations: 47.58 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.8454, allocations: 79.02 MB / 454.7 MB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000462/0.846, allocations: 79.95 kB / 454.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0355/0.8815, allocations: 8.828 MB / 463.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.37e-06/0.8816, allocations: 0 / 463.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.172e-05/0.8817, allocations: 12 kB / 463.7 MB, free: 8.629 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.002362/0.8841, allocations: 0.8145 MB / 464.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.459e-05/0.8842, allocations: 8.031 kB / 464.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.8844, allocations: 72.09 kB / 464.5 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.8854, allocations: 382 kB / 464.9 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.8855, allocations: 37.69 kB / 465 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.8856, allocations: 52.38 kB / 465 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.8874, allocations: 0.5419 MB / 465.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.8874, allocations: 4.188 kB / 465.6 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/0.8875, allocations: 23.94 kB / 465.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.8876, allocations: 12 kB / 465.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.8892, allocations: 463.6 kB / 466 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/0.8946, allocations: 2.077 MB / 468.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.8963, allocations: 0.6289 MB / 468.7 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.8974, allocations: 405.8 kB / 469.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.8975, allocations: 8.562 kB / 469.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.425e-05/0.8976, allocations: 39.12 kB / 469.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 7.805e-06/0.8976, allocations: 3.938 kB / 469.2 MB, free: 2.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.007156/0.9047, allocations: 1.998 MB / 471.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.9049, allocations: 59.97 kB / 471.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.9057, allocations: 361.6 kB / 471.6 MB, free: 300 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.9058, allocations: 29.7 kB / 471.6 MB, free: 264 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.9061, allocations: 237.1 kB / 471.9 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.9064, allocations: 201.1 kB / 472.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.9065, allocations: 12 kB / 472.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003435/0.9068, allocations: 354.7 kB / 472.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.9074, allocations: 177 kB / 472.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.9081, allocations: 211.8 kB / 472.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.9093, allocations: 396.8 kB / 473.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9093, allocations: 0 / 473.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002153/0.9115, allocations: 0.6851 MB / 473.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.9116, allocations: 4 kB / 473.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.9116, allocations: 0 / 473.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.9128, allocations: 259.1 kB / 474.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.9133, allocations: 63.94 kB / 474.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.9245, allocations: 6.777 MB / 481 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/0.9254, allocations: 24.05 kB / 481 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.9255, allocations: 16 kB / 481 MB, free: 6.277 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.0006163/0.9261, allocations: 173.8 kB / 481.2 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.9263, allocations: 55.28 kB / 481.2 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.9265, allocations: 60.95 kB / 481.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.9265, allocations: 12 kB / 481.3 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/0.9265, allocations: 0 / 481.3 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-05/0.9266, allocations: 3.984 kB / 481.3 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.9303, allocations: 1.353 MB / 482.7 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/0.9304, allocations: 3.984 kB / 482.7 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.9309, allocations: 63.91 kB / 482.7 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.932, allocations: 251.5 kB / 483 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.9321, allocations: 12 kB / 483 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/0.9437, allocations: 6.796 MB / 489.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9438, allocations: 4 kB / 489.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.9472, allocations: 1.044 MB / 490.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.9478, allocations: 156.5 kB / 491 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.9479, allocations: 8 kB / 491 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.9483, allocations: 23.98 kB / 491 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.9487, allocations: 56.42 kB / 491.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.9487, allocations: 19.94 kB / 491.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005577/0.9493, allocations: 255.2 kB / 491.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.9493, allocations: 0 / 491.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001649/0.951, allocations: 172 kB / 491.5 MB, free: 11.1 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.0003773/0.9514, allocations: 111.2 kB / 491.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.9542, allocations: 1.049 MB / 492.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9542, allocations: 3.938 kB / 492.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.9561, allocations: 0.8457 MB / 493.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.9573, allocations: 81.45 kB / 493.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.9615, allocations: 1.562 MB / 495.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.9624, allocations: 0.8754 MB / 496 MB, free: 6.414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.9626, allocations: 31.42 kB / 496.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/0.9626, allocations: 0 / 496.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of Templates: time 0.4178/1.38, allocations: 13.76 MB / 0.4979 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