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.003552/0.003561, allocations: 187.6 kB / 16.4 MB, free: 5.625 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.775/3.775, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001771/0.001771, allocations: 98.78 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006316/0.0006318, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1526, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00814/0.1608, allocations: 3.374 MB / 377.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.1647, allocations: 0.9637 MB / 378.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.1655, allocations: 12 kB / 378.9 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1658, allocations: 71.44 kB / 379 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.1672, allocations: 223.3 kB / 379.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.168, allocations: 115.9 kB / 379.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.1697, allocations: 495.9 kB / 379.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.1704, allocations: 170.5 kB / 379.9 MB, free: 10 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007446/0.1712, allocations: 235.1 kB / 380.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007942/0.172, allocations: 282.7 kB / 380.4 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.1722, allocations: 32 kB / 380.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1724, allocations: 36 kB / 380.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.1727, allocations: 119.6 kB / 380.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.173, allocations: 129.4 kB / 380.8 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1741, allocations: 0.5024 MB / 381.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1741, allocations: 0 / 381.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1741, allocations: 0 / 381.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.1742, allocations: 0 / 381.3 MB, free: 8.676 MB / 282.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.003206/0.1774, allocations: 0.8184 MB / 382.1 MB, free: 7.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.1775, allocations: 12.03 kB / 382.1 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.1778, allocations: 71.16 kB / 382.2 MB, free: 7.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.179, allocations: 368.9 kB / 382.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.678e-05/0.1792, allocations: 41.27 kB / 382.6 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.1794, allocations: 56 kB / 382.6 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.1816, allocations: 0.5375 MB / 383.2 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/0.1817, allocations: 3.938 kB / 383.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.1819, allocations: 27.94 kB / 383.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.1819, allocations: 12 kB / 383.2 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.1841, allocations: 455.7 kB / 383.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007067/0.1912, allocations: 2.061 MB / 385.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.1937, allocations: 0.6385 MB / 386.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.325e-05/0.1939, allocations: 8.562 kB / 386.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.194, allocations: 47.12 kB / 386.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=60): time 8.176e-06/0.194, allocations: 0 / 386.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.02399/0.218, allocations: 2.053 MB / 388.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.2181, allocations: 63.97 kB / 388.5 MB, free: 1.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.219, allocations: 357.6 kB / 388.9 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.2192, allocations: 37.7 kB / 388.9 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004425/0.2237, allocations: 279.5 kB / 389.2 MB, free: 380 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.2242, allocations: 197.1 kB / 389.4 MB, free: 180 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.2243, allocations: 8 kB / 389.4 MB, free: 172 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.4843/0.7086, allocations: 335.2 kB / 389.7 MB, free: 20.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.7098, allocations: 172.6 kB / 389.9 MB, free: 20.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.7108, allocations: 213.7 kB / 390.1 MB, free: 20.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.7119, allocations: 182.1 kB / 390.3 MB, free: 20.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.712, allocations: 0 / 390.3 MB, free: 20.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003203/0.7152, allocations: 0.6483 MB / 390.9 MB, free: 20.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.7153, allocations: 6.531 kB / 390.9 MB, free: 20.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7153, allocations: 1.375 kB / 390.9 MB, free: 20.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.7171, allocations: 255.4 kB / 391.2 MB, free: 20.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.7179, allocations: 63.33 kB / 391.2 MB, free: 20.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.7303, allocations: 6.833 MB / 398.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/0.7311, allocations: 25.17 kB / 398.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.7312, allocations: 16.27 kB / 398.1 MB, free: 14.34 MB / 282.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.0005009/0.7317, allocations: 170.2 kB / 398.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.7319, allocations: 53.8 kB / 398.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.7322, allocations: 67.8 kB / 398.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.7322, allocations: 9.969 kB / 398.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/0.7322, allocations: 1.688 kB / 398.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.7322, allocations: 3.375 kB / 398.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005129/0.7374, allocations: 1.343 MB / 399.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.7375, allocations: 2.219 kB / 399.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.7383, allocations: 66.08 kB / 399.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.74, allocations: 260.5 kB / 400.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.7402, allocations: 11.17 kB / 400.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.7525, allocations: 6.843 MB / 406.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7526, allocations: 1.188 kB / 406.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/0.757, allocations: 1.045 MB / 408 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005107/0.7576, allocations: 155.2 kB / 408.1 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.7577, allocations: 10.28 kB / 408.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.7584, allocations: 22.48 kB / 408.1 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.7588, allocations: 55.78 kB / 408.2 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/0.7589, allocations: 16.75 kB / 408.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006397/0.7595, allocations: 253.5 kB / 408.5 MB, free: 6.234 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7596, allocations: 0 / 408.5 MB, free: 6.234 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002247/0.7618, allocations: 171 kB / 408.6 MB, free: 6.215 MB / 282.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.0002775/0.7622, allocations: 111.5 kB / 408.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003564/0.7657, allocations: 1.049 MB / 409.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.7658, allocations: 0 / 409.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002701/0.7685, allocations: 0.8397 MB / 410.6 MB, free: 4.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.7697, allocations: 74.92 kB / 410.7 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.7751, allocations: 1.552 MB / 412.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007956/0.776, allocations: 0.887 MB / 413.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.7763, allocations: 30.53 kB / 413.2 MB, free: 3.109 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.7763, allocations: 0 / 413.2 MB, free: 3.109 MB / 282.7 MB Notification: Performance of Templates: time 0.03963/0.8159, allocations: 13.28 MB / 426.4 MB, free: 10.33 MB / 298.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