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.0009816/0.0009816, allocations: 95.08 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 227.7 MB / 246.8 MB, free: 9.668 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 4 kB / 307.7 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1457, allocations: 51.53 MB / 359.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004723/0.1504, allocations: 3.882 MB / 363.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1528, allocations: 1.013 MB / 364.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.1533, allocations: 8 kB / 364.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1536, allocations: 79.38 kB / 364.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007185/0.1543, allocations: 166.7 kB / 364.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.1548, allocations: 159.8 kB / 364.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008525/0.1556, allocations: 0.7282 MB / 365.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.156, allocations: 192.2 kB / 365.5 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.1564, allocations: 247 kB / 365.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.1569, allocations: 298.5 kB / 366 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.1e-05/0.157, allocations: 36 kB / 366 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1571, allocations: 44 kB / 366.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.1573, allocations: 115.5 kB / 366.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.1576, allocations: 324 kB / 366.5 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.1583, allocations: 0.6614 MB / 367.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1583, allocations: 0 / 367.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1583, allocations: 3.938 kB / 367.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.1583, allocations: 4 kB / 367.2 MB, free: 5.094 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.001464/0.1598, allocations: 0.8302 MB / 368 MB, free: 4.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1598, allocations: 8.031 kB / 368 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.1602, allocations: 108.1 kB / 368.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.1608, allocations: 389.9 kB / 368.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.1608, allocations: 37.69 kB / 368.5 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.564e-05/0.1609, allocations: 56.36 kB / 368.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009516/0.1619, allocations: 0.5532 MB / 369.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1619, allocations: 0 / 369.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.162, allocations: 24 kB / 369.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.162, allocations: 12 kB / 369.2 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.1629, allocations: 463.6 kB / 369.6 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.1657, allocations: 2.057 MB / 371.7 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2316/0.3973, allocations: 0.6496 MB / 372.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009826/0.3984, allocations: 401.5 kB / 372.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.3984, allocations: 9.625 kB / 372.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3985, allocations: 41.12 kB / 372.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 4.809e-06/0.3985, allocations: 1 kB / 372.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.005373/0.4039, allocations: 2.084 MB / 374.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.404, allocations: 58.75 kB / 374.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.4045, allocations: 367.7 kB / 375.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.4045, allocations: 35.67 kB / 375.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4047, allocations: 233 kB / 375.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.4048, allocations: 200.2 kB / 375.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.405, allocations: 50.62 kB / 375.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4051, allocations: 356.8 kB / 376.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.4055, allocations: 178 kB / 376.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.4059, allocations: 216.7 kB / 376.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.4066, allocations: 395.4 kB / 376.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4066, allocations: 0 / 376.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001239/0.4079, allocations: 0.6821 MB / 377.6 MB, free: 16.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4079, allocations: 8.406 kB / 377.6 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4079, allocations: 1 kB / 377.6 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/0.4087, allocations: 254.1 kB / 377.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.409, allocations: 74.58 kB / 377.9 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006053/0.4151, allocations: 6.78 MB / 384.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.4155, allocations: 23.75 kB / 384.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.4156, allocations: 20.98 kB / 384.7 MB, free: 10.49 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.0003501/0.416, allocations: 172.1 kB / 384.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.4161, allocations: 48.25 kB / 385 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.4162, allocations: 64.44 kB / 385 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4162, allocations: 15.03 kB / 385 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/0.4163, allocations: 1.344 kB / 385 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.4163, allocations: 3.844 kB / 385 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.4188, allocations: 1.358 MB / 386.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4189, allocations: 0.6562 kB / 386.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.4192, allocations: 57.84 kB / 386.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000721/0.4199, allocations: 259 kB / 386.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.4199, allocations: 12.28 kB / 386.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005853/0.4258, allocations: 6.794 MB / 393.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4258, allocations: 0.5625 kB / 393.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.4282, allocations: 1.056 MB / 394.6 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.4284, allocations: 161.8 kB / 394.7 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.4285, allocations: 12.45 kB / 394.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.4288, allocations: 19.2 kB / 394.8 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.429, allocations: 54.8 kB / 394.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.429, allocations: 19.17 kB / 394.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.4293, allocations: 264.3 kB / 395.1 MB, free: 2.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.4293, allocations: 0 / 395.1 MB, free: 2.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009865/0.4303, allocations: 175.8 kB / 395.3 MB, free: 2.363 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.0001496/0.4305, allocations: 118.9 kB / 395.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.4322, allocations: 1.04 MB / 396.4 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.4322, allocations: 1 kB / 396.4 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.4334, allocations: 0.8465 MB / 397.3 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.434, allocations: 89.3 kB / 397.4 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.4368, allocations: 1.6 MB / 399 MB, free: 15.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.4375, allocations: 0.8788 MB / 399.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.4377, allocations: 54.48 kB / 399.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.4378, allocations: 27.56 kB / 399.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4378, allocations: 1.375 kB / 399.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of Templates: time 0.01689/0.4547, allocations: 8.11 MB / 408 MB, free: 11.21 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches