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.001293/0.001293, allocations: 115.9 kB / 18.4 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002161/0.002161, allocations: 203.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 61.09 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1545, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.008048/0.1626, allocations: 4.273 MB / 363.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.1658, allocations: 1.012 MB / 364.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008649/0.1667, allocations: 8 kB / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.1673, allocations: 99 kB / 364.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1685, allocations: 202.2 kB / 364.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.1691, allocations: 191.6 kB / 364.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009741/0.1701, allocations: 0.7322 MB / 365.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.1705, allocations: 219.1 kB / 365.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.171, allocations: 294.9 kB / 365.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.1715, allocations: 326.5 kB / 366.2 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.719e-05/0.1716, allocations: 60 kB / 366.3 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1717, allocations: 64 kB / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1719, allocations: 155.4 kB / 366.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.1722, allocations: 326.3 kB / 366.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007807/0.173, allocations: 0.7162 MB / 367.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.1731, allocations: 4 kB / 367.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1731, allocations: 0 / 367.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1731, allocations: 0 / 367.5 MB, free: 4.637 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.001583/0.1747, allocations: 0.9157 MB / 368.4 MB, free: 3.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1747, allocations: 12.03 kB / 368.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.1751, allocations: 96.16 kB / 368.6 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.1758, allocations: 409.8 kB / 369 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.1759, allocations: 37.69 kB / 369 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.176, allocations: 48.38 kB / 369 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/0.1769, allocations: 0.5493 MB / 369.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.1769, allocations: 0 / 369.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.177, allocations: 20 kB / 369.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.177, allocations: 12 kB / 369.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008482/0.1779, allocations: 463.6 kB / 370.1 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2874/0.4653, allocations: 2.013 MB / 372.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.467, allocations: 0.6388 MB / 372.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008891/0.4679, allocations: 399.1 kB / 373.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/0.468, allocations: 9.531 kB / 373.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.468, allocations: 37.34 kB / 373.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 3.396e-06/0.468, allocations: 0.5312 kB / 373.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.00556/0.4736, allocations: 2.037 MB / 375.2 MB, free: 18.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.4737, allocations: 61.28 kB / 375.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.4742, allocations: 373 kB / 375.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.4743, allocations: 37.33 kB / 375.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.4744, allocations: 230.5 kB / 375.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.4746, allocations: 200.6 kB / 376.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.4748, allocations: 94.22 kB / 376.2 MB, free: 18.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4749, allocations: 360.4 kB / 376.5 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.4753, allocations: 168.8 kB / 376.7 MB, free: 17.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.4757, allocations: 212.7 kB / 376.9 MB, free: 17.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.4764, allocations: 387.5 kB / 377.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4764, allocations: 3.938 kB / 377.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001458/0.4779, allocations: 0.6709 MB / 377.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.4779, allocations: 9.125 kB / 378 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4779, allocations: 0 / 378 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008692/0.4788, allocations: 254 kB / 378.2 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.4791, allocations: 64.97 kB / 378.3 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.4857, allocations: 7.489 MB / 385.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.4862, allocations: 17.31 kB / 385.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.4862, allocations: 15.42 kB / 385.8 MB, free: 10.15 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.0003773/0.4866, allocations: 181.1 kB / 386 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.4867, allocations: 53.11 kB / 386 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.4869, allocations: 62.84 kB / 386.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4869, allocations: 11.88 kB / 386.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.4869, allocations: 1.781 kB / 386.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.4869, allocations: 3.375 kB / 386.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.4895, allocations: 1.341 MB / 387.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4895, allocations: 0.7969 kB / 387.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.4898, allocations: 55.53 kB / 387.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007403/0.4905, allocations: 265.3 kB / 387.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.4906, allocations: 11.89 kB / 387.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006223/0.4968, allocations: 7.512 MB / 395.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4969, allocations: 0 / 395.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.4989, allocations: 1.034 MB / 396.3 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.4992, allocations: 159.2 kB / 396.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.4993, allocations: 10.31 kB / 396.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.4996, allocations: 21.23 kB / 396.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.4998, allocations: 53.28 kB / 396.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.4998, allocations: 13.08 kB / 396.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003947/0.5002, allocations: 262.9 kB / 396.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5002, allocations: 1.5 kB / 396.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001127/0.5013, allocations: 171.2 kB / 397 MB, free: 1.336 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.0001959/0.5016, allocations: 119 kB / 397.1 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.5033, allocations: 1.03 MB / 398.1 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5033, allocations: 0 / 398.1 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.5044, allocations: 0.8416 MB / 399 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.505, allocations: 94.12 kB / 399.1 MB, free: 15.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.5077, allocations: 1.28 MB / 400.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.5083, allocations: 0.8781 MB / 401.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.5085, allocations: 54.45 kB / 401.3 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.5086, allocations: 33.62 kB / 401.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5086, allocations: 0 / 401.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of Templates: time 0.01653/0.5252, allocations: 8.981 MB / 410.3 MB, free: 9.34 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 cvode -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