Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001302/0.001302, allocations: 85.23 kB / 21.44 MB, free: 296 kB / 14.72 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.001433/0.001433, allocations: 164.7 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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 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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.41e-07/9.41e-07, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.25e-05, allocations: 2.281 kB / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00541/0.005433, allocations: 3.757 MB / 302.7 MB, free: 4.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.007545, allocations: 0.9316 MB / 303.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.007748, allocations: 19.94 kB / 303.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.007967, allocations: 95.06 kB / 303.8 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.008461, allocations: 206.1 kB / 304 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.008793, allocations: 167.6 kB / 304.1 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000843/0.009636, allocations: 0.7669 MB / 304.9 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.009933, allocations: 143.7 kB / 305.1 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.01051, allocations: 419 kB / 305.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.0109, allocations: 243.2 kB / 305.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.01101, allocations: 68 kB / 305.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.01112, allocations: 60 kB / 305.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.01131, allocations: 147.4 kB / 306 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.01157, allocations: 231.3 kB / 306.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007706/0.01234, allocations: 0.7242 MB / 306.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.01235, allocations: 4 kB / 306.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01235, allocations: 0 / 306.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.01236, allocations: 3.938 kB / 306.9 MB, free: 0.6992 MB / 286.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.001523/0.01388, allocations: 0.8515 MB / 307.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.01392, allocations: 15.98 kB / 307.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.01404, allocations: 72.47 kB / 307.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.0146, allocations: 323.7 kB / 308.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.01463, allocations: 41.62 kB / 308.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.01472, allocations: 56.33 kB / 308.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/0.01565, allocations: 0.538 MB / 308.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01566, allocations: 4.188 kB / 308.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.01571, allocations: 24.12 kB / 308.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.01573, allocations: 16 kB / 308.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/0.01663, allocations: 447.7 kB / 309.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.01954, allocations: 1.773 MB / 311.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.02047, allocations: 0.5189 MB / 311.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.02109, allocations: 366.3 kB / 311.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.02113, allocations: 8.5 kB / 312 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.02116, allocations: 43.06 kB / 312 MB, free: 11.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 2.084e-06/0.02116, allocations: 0 / 312 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.00449/0.02565, allocations: 1.717 MB / 313.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.02571, allocations: 63.91 kB / 313.8 MB, free: 9.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.0261, allocations: 325.7 kB / 314.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.02614, allocations: 33.7 kB / 314.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.02634, allocations: 241.3 kB / 314.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.02651, allocations: 210.2 kB / 314.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.02667, allocations: 90.34 kB / 314.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.02686, allocations: 354.8 kB / 315 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.02722, allocations: 173.2 kB / 315.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.02761, allocations: 208.8 kB / 315.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.02836, allocations: 390.1 kB / 315.8 MB, free: 7.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.02836, allocations: 0 / 315.8 MB, free: 7.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00133/0.02969, allocations: 0.6563 MB / 316.4 MB, free: 6.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.02971, allocations: 8.031 kB / 316.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.02972, allocations: 0 / 316.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/0.0305, allocations: 255.1 kB / 316.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.03082, allocations: 67.89 kB / 316.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1721/0.2029, allocations: 6.924 MB / 323.7 MB, free: 32.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.2033, allocations: 20.52 kB / 323.7 MB, free: 32.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.2034, allocations: 16.23 kB / 323.7 MB, free: 32.45 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.0002389/0.2036, allocations: 176.2 kB / 323.9 MB, free: 32.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.2037, allocations: 52.14 kB / 323.9 MB, free: 32.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.2038, allocations: 61.61 kB / 324 MB, free: 32.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2038, allocations: 5.5 kB / 324 MB, free: 32.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2038, allocations: 1.375 kB / 324 MB, free: 32.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2038, allocations: 5.219 kB / 324 MB, free: 32.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.2057, allocations: 1.173 MB / 325.2 MB, free: 32.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2057, allocations: 0 / 325.2 MB, free: 32.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.206, allocations: 54.38 kB / 325.2 MB, free: 32.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006454/0.2066, allocations: 259.2 kB / 325.5 MB, free: 32.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.2067, allocations: 12.36 kB / 325.5 MB, free: 32.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0054/0.2121, allocations: 6.946 MB / 332.4 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2121, allocations: 4.875 kB / 332.4 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.2137, allocations: 1.015 MB / 333.4 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.2139, allocations: 85.41 kB / 333.5 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.214, allocations: 11.64 kB / 333.5 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2142, allocations: 13.11 kB / 333.6 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.2144, allocations: 60.95 kB / 333.6 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.2144, allocations: 15.52 kB / 333.6 MB, free: 25.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.2147, allocations: 238.8 kB / 333.9 MB, free: 25.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2147, allocations: 0 / 333.9 MB, free: 25.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008832/0.2156, allocations: 170.8 kB / 334 MB, free: 25.27 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.0001491/0.2157, allocations: 112.1 kB / 334.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2172, allocations: 1.012 MB / 335.1 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2172, allocations: 0 / 335.1 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009721/0.2181, allocations: 0.822 MB / 336 MB, free: 23.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.2186, allocations: 80.83 kB / 336 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.2206, allocations: 1.178 MB / 337.2 MB, free: 23.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.2209, allocations: 281.3 kB / 337.5 MB, free: 23.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.221, allocations: 46.53 kB / 337.5 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.2211, allocations: 30.34 kB / 337.6 MB, free: 23.11 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2211, allocations: 1.062 kB / 337.6 MB, free: 23.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01493/0.236, allocations: 8.385 MB / 346 MB, free: 20.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.933153942227364]