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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001825/0.002918, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002621, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9794/0.9794, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/1.087, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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=10000,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=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.81e-07/8.81e-07, allocations: 0 / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.346e-06/9.227e-06, allocations: 2.312 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003277/0.003286, allocations: 4.163 MB / 243.7 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.004213, allocations: 0.9575 MB / 244.7 MB, free: 14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.004384, allocations: 15.94 kB / 244.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.004548, allocations: 99 kB / 244.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.004888, allocations: 206.1 kB / 245 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.005128, allocations: 167.7 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.005704, allocations: 0.7551 MB / 245.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.005922, allocations: 160.2 kB / 246.1 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.006365, allocations: 488 kB / 246.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.006642, allocations: 247.2 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.006715, allocations: 68 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.006792, allocations: 60 kB / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.006895, allocations: 111.6 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.007078, allocations: 187.6 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.007489, allocations: 442.3 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.007503, allocations: 4 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007503, allocations: 0 / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.00752, allocations: 0 / 247.7 MB, free: 11.02 MB / 250.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.001067/0.008587, allocations: 0.9552 MB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.008618, allocations: 12.03 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.008715, allocations: 84.88 kB / 248.7 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.009013, allocations: 263.7 kB / 249 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.009045, allocations: 45.69 kB / 249 MB, free: 9.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.009102, allocations: 48.38 kB / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.009777, allocations: 419.5 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.009789, allocations: 192 / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.009824, allocations: 36.09 kB / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.009836, allocations: 12 kB / 249.5 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.0101, allocations: 186.8 kB / 249.7 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.01167, allocations: 1.446 MB / 251.1 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.01209, allocations: 385.7 kB / 251.5 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.01232, allocations: 214.9 kB / 251.7 MB, free: 6.805 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.01235, allocations: 16.44 kB / 251.7 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.01238, allocations: 39.06 kB / 251.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 2.024e-06/0.01238, allocations: 4 kB / 251.8 MB, free: 6.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.002002/0.01438, allocations: 1.117 MB / 252.9 MB, free: 5.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.01441, allocations: 63.84 kB / 253 MB, free: 5.496 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.01461, allocations: 303.4 kB / 253.3 MB, free: 5.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.01463, allocations: 33.7 kB / 253.3 MB, free: 5.148 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.01472, allocations: 209.9 kB / 253.5 MB, free: 4.938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.01484, allocations: 210.1 kB / 253.7 MB, free: 4.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.01495, allocations: 90.3 kB / 253.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.01504, allocations: 362.7 kB / 254.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.01513, allocations: 49.3 kB / 254.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01525, allocations: 104.8 kB / 254.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.01548, allocations: 200.8 kB / 254.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01549, allocations: 4 kB / 254.5 MB, free: 3.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004662/0.01595, allocations: 380.4 kB / 254.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.01596, allocations: 4 kB / 254.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01597, allocations: 0 / 254.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/0.01637, allocations: 195.2 kB / 255.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.01661, allocations: 75.89 kB / 255.1 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.02038, allocations: 6.046 MB / 261.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.0205, allocations: 16 kB / 261.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.02052, allocations: 16.05 kB / 261.2 MB, free: 12.82 MB / 266.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.000111/0.02063, allocations: 140.5 kB / 261.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.0207, allocations: 51.95 kB / 261.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.763e-05/0.02077, allocations: 60.75 kB / 261.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.02077, allocations: 7.984 kB / 261.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02078, allocations: 4 kB / 261.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.02078, allocations: 0 / 261.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.02173, allocations: 0.7262 MB / 262.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02173, allocations: 0 / 262.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.02194, allocations: 68.02 kB / 262.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.02204, allocations: 51.66 kB / 262.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.02241, allocations: 202 kB / 262.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.02244, allocations: 8 kB / 262.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003557/0.02599, allocations: 6.049 MB / 268.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02599, allocations: 0 / 268.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.02665, allocations: 0.5888 MB / 269.2 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.02669, allocations: 15.98 kB / 269.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.02683, allocations: 15.94 kB / 269.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.02692, allocations: 60.33 kB / 269.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.02694, allocations: 8 kB / 269.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.02704, allocations: 124.7 kB / 269.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02704, allocations: 0 / 269.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006358/0.02768, allocations: 172 kB / 269.6 MB, free: 4.039 MB / 266.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 8.184e-05/0.02776, allocations: 92.42 kB / 269.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.02848, allocations: 0.8273 MB / 270.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/0.0285, allocations: 8 kB / 270.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007984/0.0293, allocations: 0.7484 MB / 271.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.02962, allocations: 121.6 kB / 271.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.03414, allocations: 1.17 MB / 272.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.03425, allocations: 146.8 kB / 272.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.701e-05/0.03434, allocations: 40.38 kB / 272.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.0345, allocations: 115.3 kB / 272.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0345, allocations: 0 / 272.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of Templates: time 0.01315/0.04765, allocations: 9.249 MB / 282.1 MB, free: 7.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9224957022815943]