Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.485/2.485, allocations: 222.9 MB / 241.8 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 46.42 kB / 300.6 MB, free: 6.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1671, allocations: 49.46 MB / 350.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.009481/0.1767, allocations: 4.259 MB / 354.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.1799, allocations: 0.923 MB / 355.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007609/0.1807, allocations: 8 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.1814, allocations: 67.45 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.1828, allocations: 170.6 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.1836, allocations: 143.9 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.1852, allocations: 0.7205 MB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006705/0.1859, allocations: 196.1 kB / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007535/0.1867, allocations: 258.9 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007775/0.1875, allocations: 318.6 kB / 357.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.1877, allocations: 40 kB / 357.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.188, allocations: 44 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.1882, allocations: 135.4 kB / 357.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006088/0.1889, allocations: 310.3 kB / 357.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007851/0.1897, allocations: 0.5104 MB / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1897, allocations: 4 kB / 358.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1897, allocations: 0 / 358.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.536e-05/0.1898, allocations: 0 / 358.1 MB, free: 12.69 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.003025/0.1928, allocations: 0.9157 MB / 359 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.1929, allocations: 8.031 kB / 359.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.1932, allocations: 72.09 kB / 359.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.194, allocations: 370 kB / 359.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.1941, allocations: 41.69 kB / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1943, allocations: 52.38 kB / 359.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.1961, allocations: 0.5493 MB / 360.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.1961, allocations: 0 / 360.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.1962, allocations: 20 kB / 360.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.1962, allocations: 16 kB / 360.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.1979, allocations: 455.6 kB / 360.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005185/0.2031, allocations: 2.034 MB / 362.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.2047, allocations: 0.6453 MB / 363.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.2058, allocations: 402.1 kB / 363.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.2059, allocations: 12.56 kB / 363.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.206, allocations: 35.12 kB / 363.7 MB, free: 6.855 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 5.24e-06/0.206, allocations: 0 / 363.7 MB, free: 6.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007875/0.2139, allocations: 2.032 MB / 365.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.214, allocations: 59.97 kB / 365.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.2147, allocations: 365.7 kB / 366.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.2148, allocations: 33.7 kB / 366.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.2151, allocations: 229.1 kB / 366.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.2154, allocations: 205.1 kB / 366.6 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.2157, allocations: 90.25 kB / 366.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.2159, allocations: 354.8 kB / 367.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.2166, allocations: 169 kB / 367.2 MB, free: 3.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.2174, allocations: 215.7 kB / 367.4 MB, free: 2.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.2187, allocations: 376.9 kB / 367.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2187, allocations: 0 / 367.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002257/0.221, allocations: 0.6734 MB / 368.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.221, allocations: 7.938 kB / 368.5 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.221, allocations: 7.969 kB / 368.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.2224, allocations: 259.1 kB / 368.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.2229, allocations: 59.95 kB / 368.8 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3564/0.5793, allocations: 6.759 MB / 375.6 MB, free: 20.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.58, allocations: 22.05 kB / 375.6 MB, free: 20.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.5801, allocations: 15.92 kB / 375.6 MB, free: 20.79 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.0004215/0.5806, allocations: 177.3 kB / 375.8 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.5808, allocations: 49.48 kB / 375.8 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.581, allocations: 63.86 kB / 375.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.581, allocations: 5.844 kB / 375.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.5811, allocations: 5.438 kB / 375.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.5811, allocations: 5.625 kB / 375.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004213/0.5853, allocations: 1.347 MB / 377.3 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.5854, allocations: 0 / 377.3 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.5859, allocations: 55.83 kB / 377.3 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.5872, allocations: 255.8 kB / 377.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/0.5873, allocations: 16.28 kB / 377.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009934/0.5972, allocations: 6.79 MB / 384.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5973, allocations: 0.7969 kB / 384.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/0.6009, allocations: 1.031 MB / 385.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.6014, allocations: 155.7 kB / 385.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.6016, allocations: 15.72 kB / 385.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.6023, allocations: 20.88 kB / 385.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/0.6026, allocations: 52.7 kB / 385.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.6027, allocations: 14.08 kB / 385.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006112/0.6033, allocations: 261.6 kB / 385.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6033, allocations: 1.406 kB / 385.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001871/0.6052, allocations: 170.6 kB / 386.1 MB, free: 12.82 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.0002701/0.6055, allocations: 111 kB / 386.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003015/0.6085, allocations: 1.035 MB / 387.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6086, allocations: 0 / 387.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.6107, allocations: 0.836 MB / 388.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.612, allocations: 77.83 kB / 388.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.6165, allocations: 1.527 MB / 389.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.6174, allocations: 0.8767 MB / 390.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.6176, allocations: 29.67 kB / 390.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of SimCode: time 1.372e-06/0.6177, allocations: 0 / 390.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of Templates: time 0.03037/0.648, allocations: 13.82 MB / 404.4 MB, free: 2.309 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches