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.001859/0.001859, allocations: 88.34 kB / 20.95 MB, free: 3.457 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.002224/0.002224, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 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 1.904e-06/1.904e-06, allocations: 0 / 272.3 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.375e-05, allocations: 6.312 kB / 272.3 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006169/0.006203, allocations: 3.864 MB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.008512, allocations: 0.9852 MB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.008774, allocations: 11.94 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.009033, allocations: 103 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.009557, allocations: 202.2 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.009986, allocations: 191.6 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.01088, allocations: 0.763 MB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.01119, allocations: 155.5 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.01181, allocations: 435 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.0122, allocations: 247.2 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.0123, allocations: 60 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.01244, allocations: 64 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.01262, allocations: 147.4 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.0129, allocations: 231.4 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009116/0.01381, allocations: 0.7436 MB / 280.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01382, allocations: 0 / 280.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.01382, allocations: 0 / 280.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.01383, allocations: 4 kB / 280.5 MB, free: 9.559 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.001753/0.01558, allocations: 0.8515 MB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.01563, allocations: 12.03 kB / 281.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/0.01607, allocations: 132.5 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.01669, allocations: 343.6 kB / 281.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.01674, allocations: 45.69 kB / 281.9 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.545e-05/0.01684, allocations: 52.33 kB / 281.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.01785, allocations: 0.5458 MB / 282.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01787, allocations: 192 / 282.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.01792, allocations: 24.12 kB / 282.5 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.01794, allocations: 12 kB / 282.5 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009244/0.01886, allocations: 443.7 kB / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.02184, allocations: 1.789 MB / 284.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.02284, allocations: 0.5228 MB / 285.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.02351, allocations: 358.4 kB / 285.6 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.148e-05/0.02356, allocations: 12.5 kB / 285.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.0236, allocations: 39.06 kB / 285.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.653e-06/0.0236, allocations: 3.938 kB / 285.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.004755/0.02836, allocations: 1.736 MB / 287.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.02842, allocations: 59.91 kB / 287.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.02885, allocations: 341.6 kB / 287.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.02889, allocations: 33.7 kB / 287.8 MB, free: 2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.02909, allocations: 237.4 kB / 288.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.0294, allocations: 214.1 kB / 288.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.02958, allocations: 90.34 kB / 288.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.02978, allocations: 354.8 kB / 288.7 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.03016, allocations: 173.2 kB / 288.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.03057, allocations: 212.8 kB / 289.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.03134, allocations: 382.1 kB / 289.5 MB, free: 340 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.03134, allocations: 0 / 289.5 MB, free: 340 kB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.1163/0.1476, allocations: 0.6787 MB / 290.1 MB, free: 28.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.1477, allocations: 5.625 kB / 290.1 MB, free: 28.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1477, allocations: 1.531 kB / 290.1 MB, free: 28.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/0.1485, allocations: 262.6 kB / 290.4 MB, free: 28.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.1488, allocations: 62.92 kB / 290.5 MB, free: 28.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.1538, allocations: 6.979 MB / 297.4 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.1541, allocations: 21.47 kB / 297.5 MB, free: 22.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.1541, allocations: 16.45 kB / 297.5 MB, free: 22.52 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.0002/0.1543, allocations: 171.3 kB / 297.6 MB, free: 22.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.1544, allocations: 71.7 kB / 297.7 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.1545, allocations: 66.53 kB / 297.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1545, allocations: 5.531 kB / 297.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.1545, allocations: 4.688 kB / 297.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1546, allocations: 5.453 kB / 297.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.1564, allocations: 1.158 MB / 299 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1564, allocations: 2.75 kB / 299 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.1567, allocations: 52.62 kB / 299 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000694/0.1574, allocations: 265.2 kB / 299.3 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.1574, allocations: 12.95 kB / 299.3 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004742/0.1622, allocations: 6.979 MB / 306.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1622, allocations: 5.875 kB / 306.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.1638, allocations: 1.027 MB / 307.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.164, allocations: 83.08 kB / 307.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.164, allocations: 12.5 kB / 307.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.1643, allocations: 21.42 kB / 307.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.1645, allocations: 56.52 kB / 307.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.1645, allocations: 15.34 kB / 307.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1647, allocations: 241.9 kB / 307.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1647, allocations: 1.75 kB / 307.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008467/0.1656, allocations: 175.1 kB / 307.9 MB, free: 14.67 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.000114/0.1657, allocations: 110.7 kB / 308 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.167, allocations: 1.02 MB / 309 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.167, allocations: 0 / 309 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.1679, allocations: 0.8184 MB / 309.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.1684, allocations: 89.64 kB / 309.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.1702, allocations: 1.204 MB / 311.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1704, allocations: 288.7 kB / 311.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.1706, allocations: 50.2 kB / 311.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.1706, allocations: 27.86 kB / 311.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1706, allocations: 1.25 kB / 311.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01195/0.1826, allocations: 8.446 MB / 319.9 MB, free: 5.906 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=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.953067958937027]