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.001053/0.001053, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 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.001848/0.001848, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 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.9832/0.9832, allocations: 173.4 MB / 201.1 MB, free: 8.988 MB / 186.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 1.533e-06/1.533e-06, allocations: 0 / 268 MB, free: 6.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.793e-05, allocations: 2.312 kB / 268 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003611/0.003629, allocations: 4.184 MB / 272.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004651, allocations: 0.915 MB / 273.1 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.004809, allocations: 11.94 kB / 273.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.005, allocations: 95.06 kB / 273.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.005345, allocations: 210.1 kB / 273.4 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.005569, allocations: 167.7 kB / 273.6 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.006124, allocations: 0.7591 MB / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.006335, allocations: 155.6 kB / 274.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.006624, allocations: 427 kB / 274.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.006862, allocations: 247.3 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.006924, allocations: 60 kB / 275.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.006985, allocations: 60 kB / 275.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.0071, allocations: 155.3 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.00725, allocations: 227.4 kB / 275.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.007616, allocations: 494.2 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.007618, allocations: 0 / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007618, allocations: 4 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.007623, allocations: 0 / 276.1 MB, free: 14.11 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.0008942/0.008518, allocations: 0.9436 MB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.00856, allocations: 16.86 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.008681, allocations: 112.5 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.00902, allocations: 322.5 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.009044, allocations: 37.69 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.009105, allocations: 56.38 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.009624, allocations: 467.5 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.009637, allocations: 192 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.009672, allocations: 24.12 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.009687, allocations: 16 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.01006, allocations: 245.8 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.01174, allocations: 2.035 MB / 280.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.01222, allocations: 459.8 kB / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.01258, allocations: 261.8 kB / 281.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.01262, allocations: 8.5 kB / 281.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.01264, allocations: 45.89 kB / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.483e-06/0.01264, allocations: 0 / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002186/0.01483, allocations: 1.404 MB / 282.5 MB, free: 7.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.01486, allocations: 55.91 kB / 282.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.01509, allocations: 366.8 kB / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.01511, allocations: 33.7 kB / 283 MB, free: 6.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.01523, allocations: 288 kB / 283.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.879e-05/0.01533, allocations: 210.2 kB / 283.5 MB, free: 6.457 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.01542, allocations: 96 kB / 283.6 MB, free: 6.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.01555, allocations: 0.5274 MB / 284.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.01569, allocations: 81.27 kB / 284.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.01585, allocations: 146.4 kB / 284.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.01616, allocations: 239.8 kB / 284.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01616, allocations: 0 / 284.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006015/0.01676, allocations: 0.5073 MB / 285.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01677, allocations: 8.031 kB / 285.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01678, allocations: 0 / 285.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004241/0.0172, allocations: 226.4 kB / 285.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.01737, allocations: 59.97 kB / 285.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1194/0.1368, allocations: 8.856 MB / 294.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.137, allocations: 17.81 kB / 294.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.137, allocations: 16.2 kB / 294.2 MB, free: 24.87 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.0001225/0.1371, allocations: 184.1 kB / 294.4 MB, free: 24.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.1372, allocations: 70.27 kB / 294.5 MB, free: 24.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.1373, allocations: 66.23 kB / 294.5 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1373, allocations: 7.453 kB / 294.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1373, allocations: 1.812 kB / 294.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1373, allocations: 3.141 kB / 294.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.1384, allocations: 1.033 MB / 295.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1384, allocations: 0.7031 kB / 295.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.1386, allocations: 59.86 kB / 295.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.139, allocations: 228.3 kB / 295.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.139, allocations: 15.27 kB / 295.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003079/0.1421, allocations: 8.859 MB / 304.7 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1421, allocations: 0 / 304.7 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.1429, allocations: 0.7866 MB / 305.5 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.143, allocations: 76.95 kB / 305.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1431, allocations: 11.11 kB / 305.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1432, allocations: 14.92 kB / 305.6 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.1433, allocations: 64.27 kB / 305.7 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1433, allocations: 16.45 kB / 305.7 MB, free: 16.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1435, allocations: 256.5 kB / 306 MB, free: 16 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1435, allocations: 0 / 306 MB, free: 16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005802/0.1441, allocations: 170.8 kB / 306.1 MB, free: 15.98 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.0001017/0.1442, allocations: 120.3 kB / 306.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000878/0.145, allocations: 1.105 MB / 307.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.145, allocations: 1.656 kB / 307.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.1456, allocations: 0.9867 MB / 308.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.146, allocations: 87.55 kB / 308.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1476, allocations: 1.153 MB / 309.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.1477, allocations: 144.6 kB / 309.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1478, allocations: 47.53 kB / 309.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.1479, allocations: 32.25 kB / 309.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1479, allocations: 4 kB / 309.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01019/0.1581, allocations: 8.536 MB / 318.3 MB, free: 9.301 MB / 266.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 -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: 3.361484339926392]