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.001936/0.001936, allocations: 81.17 kB / 20.68 MB, free: 1.039 MB / 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.002443/0.002443, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.457/1.457, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.044e-06/2.044e-06, allocations: 0 / 325.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.968e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006351/0.006381, allocations: 3.868 MB / 329 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.00853, allocations: 0.9787 MB / 329.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.008772, allocations: 12.62 kB / 330 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.009062, allocations: 102.8 kB / 330.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.009646, allocations: 207.9 kB / 330.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.01015, allocations: 196.1 kB / 330.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009687/0.01112, allocations: 0.7739 MB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.01145, allocations: 146 kB / 331.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006184/0.01206, allocations: 432 kB / 331.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.01244, allocations: 239.1 kB / 332 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01255, allocations: 61.41 kB / 332.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.0127, allocations: 62.62 kB / 332.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.01289, allocations: 155.1 kB / 332.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.01317, allocations: 233.8 kB / 332.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.01404, allocations: 0.7363 MB / 333.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.01404, allocations: 7.984 kB / 333.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01404, allocations: 0.9062 kB / 333.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.01405, allocations: 0 / 333.3 MB, free: 11.18 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.00161/0.01566, allocations: 0.8486 MB / 334.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.0157, allocations: 9.531 kB / 334.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.0161, allocations: 96.23 kB / 334.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.01665, allocations: 338.2 kB / 334.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.01669, allocations: 38.75 kB / 334.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.01678, allocations: 57.69 kB / 334.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.01777, allocations: 0.5376 MB / 335.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01778, allocations: 192 / 335.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.01784, allocations: 25.81 kB / 335.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.01785, allocations: 16.58 kB / 335.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.01879, allocations: 450.4 kB / 335.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.02158, allocations: 1.776 MB / 337.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.02255, allocations: 0.5258 MB / 338 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/0.02317, allocations: 357.7 kB / 338.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.02322, allocations: 10.77 kB / 338.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.02326, allocations: 42.59 kB / 338.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.02326, allocations: 0 / 338.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004573/0.02783, allocations: 1.711 MB / 340.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.0279, allocations: 67.89 kB / 340.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.02827, allocations: 333.7 kB / 340.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.02832, allocations: 37.7 kB / 340.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.02849, allocations: 237.3 kB / 340.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.02866, allocations: 214.2 kB / 340.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.02882, allocations: 98.28 kB / 341 MB, free: 4.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.02899, allocations: 350.7 kB / 341.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.02936, allocations: 173.2 kB / 341.6 MB, free: 4.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.02975, allocations: 216.8 kB / 341.8 MB, free: 4.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000766/0.03052, allocations: 378.1 kB / 342.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.03052, allocations: 0 / 342.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001296/0.03182, allocations: 0.6602 MB / 342.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.03183, allocations: 4 kB / 342.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.03184, allocations: 4 kB / 342.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007873/0.03263, allocations: 255.2 kB / 343.1 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.03295, allocations: 59.95 kB / 343.1 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007496/0.04045, allocations: 6.942 MB / 350.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.04078, allocations: 20.02 kB / 350.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.04082, allocations: 16 kB / 350.1 MB, free: 11.39 MB / 318.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.0003533/0.04117, allocations: 174.9 kB / 350.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.04127, allocations: 51.75 kB / 350.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.04139, allocations: 68.72 kB / 350.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.0414, allocations: 7.938 kB / 350.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.04141, allocations: 4 kB / 350.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.04142, allocations: 0 / 350.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.04361, allocations: 1.167 MB / 351.6 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.04361, allocations: 4 kB / 351.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.0439, allocations: 55.91 kB / 351.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/0.04462, allocations: 255.2 kB / 351.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.04466, allocations: 19.92 kB / 351.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/0.05176, allocations: 6.936 MB / 358.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.05177, allocations: 0 / 358.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.05366, allocations: 1.013 MB / 359.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.05387, allocations: 79.66 kB / 359.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.05393, allocations: 11.94 kB / 359.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.0542, allocations: 19.98 kB / 359.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.05437, allocations: 60.33 kB / 360 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.05441, allocations: 16 kB / 360 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.05468, allocations: 239.2 kB / 360.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05468, allocations: 0 / 360.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009227/0.0556, allocations: 172 kB / 360.4 MB, free: 0.5625 MB / 318.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.0001884/0.05579, allocations: 126.1 kB / 360.5 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.05756, allocations: 1.009 MB / 361.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.05756, allocations: 0 / 361.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.05878, allocations: 0.8291 MB / 362.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.05928, allocations: 77.66 kB / 362.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.06167, allocations: 1.177 MB / 363.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.06198, allocations: 279.6 kB / 363.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.06214, allocations: 48.36 kB / 364 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.06222, allocations: 28.5 kB / 364 MB, free: 12.82 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.06222, allocations: 0 / 364 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Templates: time 0.017/0.07922, allocations: 8.396 MB / 372.4 MB, free: 4.531 MB / 334.1 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: 4.880660805851221]