Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008486/0.0008486, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003427/0.003427, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8388/0.8388, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 4 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.739e-05, allocations: 2.281 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003305/0.003322, allocations: 3.868 MB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.004359, allocations: 0.9774 MB / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.004507, allocations: 12 kB / 330.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.004674, allocations: 102.9 kB / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.004987, allocations: 210.2 kB / 331 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.005236, allocations: 199.5 kB / 331.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.005679, allocations: 0.759 MB / 332 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.005885, allocations: 155.6 kB / 332.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.006201, allocations: 431 kB / 332.5 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.006419, allocations: 243.2 kB / 332.8 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.006474, allocations: 60 kB / 332.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.006557, allocations: 64 kB / 332.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.00666, allocations: 151.4 kB / 333.1 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.006789, allocations: 227.4 kB / 333.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.00725, allocations: 0.7437 MB / 334 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.007252, allocations: 0 / 334 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007253, allocations: 3.938 kB / 334 MB, free: 7.191 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.007259, allocations: 0 / 334 MB, free: 7.191 MB / 298.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.0008478/0.008107, allocations: 0.8586 MB / 334.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.008141, allocations: 12.03 kB / 334.9 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.008333, allocations: 92.48 kB / 335 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.008671, allocations: 339.6 kB / 335.3 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.008693, allocations: 37.69 kB / 335.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.008744, allocations: 60.33 kB / 335.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.009518, allocations: 0.538 MB / 336 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.00953, allocations: 4.188 kB / 336 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.009559, allocations: 24.12 kB / 336 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.009568, allocations: 12 kB / 336 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.01005, allocations: 451.6 kB / 336.4 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.01157, allocations: 1.769 MB / 338.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.0121, allocations: 0.5276 MB / 338.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.01245, allocations: 366.3 kB / 339.1 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.01248, allocations: 4.5 kB / 339.1 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.0125, allocations: 39.06 kB / 339.1 MB, free: 1.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 1.714e-06/0.0125, allocations: 0 / 339.1 MB, free: 1.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002342/0.01484, allocations: 1.717 MB / 340.8 MB, free: 152 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.01488, allocations: 63.84 kB / 340.9 MB, free: 72 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.0151, allocations: 341.6 kB / 341.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.01512, allocations: 37.7 kB / 341.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.01523, allocations: 241.3 kB / 341.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/0.01532, allocations: 214.2 kB / 341.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.01541, allocations: 86.34 kB / 341.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.01552, allocations: 354.8 kB / 342.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.01572, allocations: 169.2 kB / 342.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.01594, allocations: 212.8 kB / 342.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.01665, allocations: 382.2 kB / 342.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01665, allocations: 0 / 342.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007113/0.01736, allocations: 0.6563 MB / 343.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01738, allocations: 4 kB / 343.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01738, allocations: 8.031 kB / 343.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.01779, allocations: 259.1 kB / 343.8 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.01795, allocations: 51.97 kB / 343.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/0.02189, allocations: 6.95 MB / 350.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.022, allocations: 16.03 kB / 350.8 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.02202, allocations: 16 kB / 350.9 MB, free: 5.645 MB / 314.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 (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.0001393/0.02216, allocations: 178.2 kB / 351 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.0222, allocations: 55.66 kB / 351.1 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.02225, allocations: 60.8 kB / 351.1 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.02225, allocations: 4 kB / 351.1 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.02226, allocations: 4 kB / 351.1 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.02226, allocations: 3.984 kB / 351.2 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.02343, allocations: 1.163 MB / 352.3 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02344, allocations: 0 / 352.3 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.02357, allocations: 59.83 kB / 352.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/0.02391, allocations: 255.2 kB / 352.6 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.02393, allocations: 15.94 kB / 352.6 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.02754, allocations: 6.936 MB / 359.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.02754, allocations: 3.938 kB / 359.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.02851, allocations: 1.021 MB / 360.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.02861, allocations: 83.66 kB / 360.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.02864, allocations: 11.94 kB / 360.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.02875, allocations: 19.98 kB / 360.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.02883, allocations: 52.39 kB / 360.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.02884, allocations: 16 kB / 360.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.02899, allocations: 243.1 kB / 361 MB, free: 10.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02899, allocations: 0 / 361 MB, free: 10.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.02949, allocations: 176 kB / 361.2 MB, free: 10.8 MB / 330.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 (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 9.493e-05/0.02959, allocations: 118.9 kB / 361.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000854/0.03044, allocations: 1.005 MB / 362.3 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.03044, allocations: 3.938 kB / 362.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.03099, allocations: 0.8291 MB / 363.1 MB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.03128, allocations: 77.55 kB / 363.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.03268, allocations: 1.214 MB / 364.4 MB, free: 7.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.03284, allocations: 283.6 kB / 364.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.03291, allocations: 32.48 kB / 364.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03291, allocations: 0 / 364.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of Templates: time 0.008872/0.04178, allocations: 14.09 MB / 378.8 MB, free: 8.984 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4031943548470736]