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.001389/0.001389, allocations: 72.89 kB / 21.49 MB, free: 2.836 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.001177/0.001177, allocations: 167.3 kB / 24.91 MB, free: 9.254 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.9902/0.9902, allocations: 177.1 MB / 205.3 MB, free: 5.496 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 1.393e-06/1.393e-06, allocations: 0 / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.347e-05, allocations: 2.312 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003431/0.003445, allocations: 4.192 MB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.004995, allocations: 1.043 MB / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.005186, allocations: 15.94 kB / 278.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.005366, allocations: 95.06 kB / 278.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.005724, allocations: 210.1 kB / 279.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.006008, allocations: 191.6 kB / 279.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.006563, allocations: 0.763 MB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.006758, allocations: 160.3 kB / 280.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.007144, allocations: 434.9 kB / 280.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.007383, allocations: 247.3 kB / 280.8 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.00744, allocations: 60 kB / 280.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.007532, allocations: 64 kB / 281 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-05/0.00763, allocations: 151.4 kB / 281.1 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.007768, allocations: 231.4 kB / 281.3 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.008123, allocations: 494.2 kB / 281.8 MB, free: 8.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.008124, allocations: 4 kB / 281.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008125, allocations: 4 kB / 281.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.00813, allocations: 0 / 281.8 MB, free: 8.887 MB / 266.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.0007541/0.008884, allocations: 0.8422 MB / 282.7 MB, free: 8.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.008913, allocations: 12.03 kB / 282.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.009104, allocations: 112.8 kB / 282.8 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.00937, allocations: 271.7 kB / 283.1 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.009392, allocations: 41.67 kB / 283.1 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.009438, allocations: 52.38 kB / 283.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.009788, allocations: 435.5 kB / 283.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.009799, allocations: 192 / 283.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.009824, allocations: 24.12 kB / 283.6 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.009833, allocations: 12 kB / 283.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.01004, allocations: 186.8 kB / 283.8 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.01132, allocations: 1.442 MB / 285.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.01165, allocations: 377.7 kB / 285.6 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.01184, allocations: 214.9 kB / 285.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.01186, allocations: 12.44 kB / 285.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.01188, allocations: 39.06 kB / 285.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.513e-06/0.01188, allocations: 0 / 285.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001624/0.01351, allocations: 1.125 MB / 287 MB, free: 3.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.01353, allocations: 63.84 kB / 287 MB, free: 3.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.0137, allocations: 307.3 kB / 287.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.01372, allocations: 37.7 kB / 287.4 MB, free: 3.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.0138, allocations: 209.9 kB / 287.6 MB, free: 2.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-05/0.01389, allocations: 214.1 kB / 287.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.01397, allocations: 98.25 kB / 287.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.01405, allocations: 358.7 kB / 288.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.01412, allocations: 53.3 kB / 288.3 MB, free: 2.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.01421, allocations: 100.8 kB / 288.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.0144, allocations: 196.9 kB / 288.6 MB, free: 1.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.0144, allocations: 0 / 288.6 MB, free: 1.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003744/0.01478, allocations: 388.4 kB / 289 MB, free: 1.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01479, allocations: 7.938 kB / 289 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01479, allocations: 4 kB / 289 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.01512, allocations: 187.2 kB / 289.2 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.0153, allocations: 71.89 kB / 289.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1053/0.1206, allocations: 6.023 MB / 295.3 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.1208, allocations: 18.91 kB / 295.3 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1209, allocations: 11.81 kB / 295.3 MB, free: 20.77 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.0001394/0.121, allocations: 146.9 kB / 295.4 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.1211, allocations: 52.38 kB / 295.5 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.1211, allocations: 62.67 kB / 295.5 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1211, allocations: 5.938 kB / 295.5 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.1212, allocations: 1.812 kB / 295.5 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1212, allocations: 4.562 kB / 295.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1222, allocations: 0.7153 MB / 296.3 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1222, allocations: 0.8906 kB / 296.3 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.1225, allocations: 69.2 kB / 296.3 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/0.1229, allocations: 197.6 kB / 296.5 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.1229, allocations: 12.42 kB / 296.5 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.1259, allocations: 6.042 MB / 302.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1259, allocations: 0 / 302.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.1266, allocations: 0.5908 MB / 303.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1267, allocations: 54.02 kB / 303.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.1268, allocations: 13.67 kB / 303.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1269, allocations: 13.34 kB / 303.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.1271, allocations: 57.66 kB / 303.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1271, allocations: 14.09 kB / 303.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1272, allocations: 129 kB / 303.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1272, allocations: 3.531 kB / 303.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007581/0.128, allocations: 175.7 kB / 303.6 MB, free: 15.02 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 0.0001133/0.1281, allocations: 89.39 kB / 303.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007652/0.1289, allocations: 0.8239 MB / 304.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.1289, allocations: 3.344 kB / 304.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.1294, allocations: 0.7449 MB / 305.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.1297, allocations: 87.92 kB / 305.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1315, allocations: 1.081 MB / 306.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.1316, allocations: 150.5 kB / 306.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1317, allocations: 35.31 kB / 306.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.1319, allocations: 129.6 kB / 306.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1319, allocations: 0 / 306.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of Templates: time 0.01295/0.1449, allocations: 9.044 MB / 315.8 MB, free: 8.895 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0719033828936517]