Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002/0.002, allocations: 96.25 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002453/0.002453, allocations: 156.9 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/4.091e-05, allocations: 5.266 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.01031/0.01035, allocations: 3.853 MB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.01377, allocations: 0.9968 MB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.01408, allocations: 11.94 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.01447, allocations: 95 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008658/0.01534, allocations: 206.1 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.01608, allocations: 195.6 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.01758, allocations: 0.7747 MB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.01794, allocations: 155.5 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007467/0.01869, allocations: 431 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.01914, allocations: 251.2 kB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.01927, allocations: 60 kB / 279.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.01944, allocations: 64 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.01964, allocations: 151.4 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.01994, allocations: 231.4 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.02086, allocations: 0.7436 MB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.02087, allocations: 0 / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02087, allocations: 0 / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.02089, allocations: 0 / 280.4 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.001879/0.02277, allocations: 0.8593 MB / 281.3 MB, free: 8.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.02281, allocations: 11.98 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004824/0.02329, allocations: 140.5 kB / 281.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.02397, allocations: 339.6 kB / 281.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.02402, allocations: 41.67 kB / 281.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.02412, allocations: 56.33 kB / 281.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.02528, allocations: 0.5419 MB / 282.4 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.0253, allocations: 4.188 kB / 282.4 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.02537, allocations: 24.12 kB / 282.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.02538, allocations: 12 kB / 282.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.02653, allocations: 447.7 kB / 282.9 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.02971, allocations: 1.785 MB / 284.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.03071, allocations: 0.5266 MB / 285.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.03138, allocations: 366.3 kB / 285.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.03143, allocations: 12.5 kB / 285.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.03147, allocations: 35.06 kB / 285.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.425e-06/0.03147, allocations: 3.938 kB / 285.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.004901/0.03637, allocations: 1.74 MB / 287.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.03643, allocations: 63.84 kB / 287.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.0369, allocations: 337.6 kB / 287.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.03695, allocations: 37.7 kB / 287.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.03719, allocations: 233.4 kB / 288 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.03743, allocations: 218.1 kB / 288.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.0376, allocations: 90.34 kB / 288.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.03782, allocations: 350.8 kB / 288.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.03822, allocations: 169.2 kB / 288.8 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.03863, allocations: 216.8 kB / 289 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.03942, allocations: 378.1 kB / 289.4 MB, free: 316 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.03942, allocations: 0 / 289.4 MB, free: 316 kB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.1254/0.1648, allocations: 0.681 MB / 290.1 MB, free: 28.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.1648, allocations: 3.875 kB / 290.1 MB, free: 28.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1648, allocations: 1.219 kB / 290.1 MB, free: 28.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000815/0.1656, allocations: 259.9 kB / 290.3 MB, free: 28.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.1659, allocations: 64.52 kB / 290.4 MB, free: 28.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/0.1714, allocations: 6.977 MB / 297.3 MB, free: 22.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.1719, allocations: 20.17 kB / 297.4 MB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.1719, allocations: 15.56 kB / 297.4 MB, free: 22.5 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.0003001/0.1722, allocations: 180.5 kB / 297.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1724, allocations: 65.59 kB / 297.6 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.1725, allocations: 68.33 kB / 297.7 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1725, allocations: 6.672 kB / 297.7 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.1725, allocations: 2.219 kB / 297.7 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1725, allocations: 3.188 kB / 297.7 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.1745, allocations: 1.165 MB / 298.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1745, allocations: 0.9375 kB / 298.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.1748, allocations: 52.48 kB / 298.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006773/0.1754, allocations: 266 kB / 299.2 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.1755, allocations: 11.77 kB / 299.2 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/0.1806, allocations: 6.979 MB / 306.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1806, allocations: 5.484 kB / 306.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.1823, allocations: 1.027 MB / 307.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.1825, allocations: 84.89 kB / 307.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.1826, allocations: 11.05 kB / 307.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1828, allocations: 21.67 kB / 307.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.183, allocations: 57.14 kB / 307.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.1831, allocations: 15.31 kB / 307.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002553/0.1833, allocations: 241.5 kB / 307.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1833, allocations: 3.062 kB / 307.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009323/0.1842, allocations: 175.4 kB / 307.8 MB, free: 14.65 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.0001358/0.1844, allocations: 109.7 kB / 307.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.1859, allocations: 1.018 MB / 308.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1859, allocations: 3.812 kB / 308.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009898/0.1869, allocations: 0.8141 MB / 309.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.1874, allocations: 85.95 kB / 309.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.1894, allocations: 1.207 MB / 311 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1896, allocations: 284.4 kB / 311.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.1898, allocations: 45.55 kB / 311.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.1899, allocations: 30.23 kB / 311.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1899, allocations: 4 kB / 311.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01299/0.2029, allocations: 8.441 MB / 319.8 MB, free: 5.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.908308060024865]