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.001967/0.001967, allocations: 105.1 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.002444/0.002444, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 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.531/1.531, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 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 0.002518/0.002518, allocations: 67.88 kB / 378.8 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3047, allocations: 53.35 MB / 432.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005869/0.3106, allocations: 4.307 MB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3125, allocations: 1.032 MB / 437.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.3127, allocations: 12 kB / 437.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.3129, allocations: 99 kB / 437.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.3134, allocations: 202.2 kB / 437.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.3138, allocations: 191.7 kB / 438 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008132/0.3146, allocations: 0.7478 MB / 438.7 MB, free: 448 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.3149, allocations: 159.7 kB / 438.9 MB, free: 284 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.3153, allocations: 299 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.3158, allocations: 330.5 kB / 439.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.3159, allocations: 60 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.316, allocations: 64 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.3162, allocations: 151.4 kB / 439.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.3165, allocations: 334.3 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.3173, allocations: 0.7273 MB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3174, allocations: 4 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3174, allocations: 0 / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3174, allocations: 0 / 440.8 MB, free: 14.33 MB / 350.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.001628/0.319, allocations: 0.8555 MB / 441.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.319, allocations: 8.031 kB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.3194, allocations: 100.5 kB / 441.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.32, allocations: 340.3 kB / 442.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.3201, allocations: 41.69 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.3202, allocations: 56.27 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.3212, allocations: 0.5454 MB / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3212, allocations: 4 kB / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.3212, allocations: 20 kB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.3212, allocations: 12 kB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.3222, allocations: 451.6 kB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.3251, allocations: 1.987 MB / 445.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/0.3261, allocations: 0.5112 MB / 445.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/0.3267, allocations: 358 kB / 446.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.3267, allocations: 12.48 kB / 446.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3268, allocations: 39.06 kB / 446.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.703e-06/0.3268, allocations: 0 / 446.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004634/0.3314, allocations: 1.724 MB / 447.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.3315, allocations: 63.89 kB / 447.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.3319, allocations: 365.7 kB / 448.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.332, allocations: 37.7 kB / 448.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.3321, allocations: 237.4 kB / 448.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.3323, allocations: 206.2 kB / 448.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.3325, allocations: 98.28 kB / 448.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3327, allocations: 354.8 kB / 449.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.3331, allocations: 173.2 kB / 449.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.3335, allocations: 216.8 kB / 449.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.3343, allocations: 386.1 kB / 449.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3343, allocations: 4 kB / 449.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001298/0.3356, allocations: 0.6525 MB / 450.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3356, allocations: 15.94 kB / 450.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3356, allocations: 0 / 450.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007961/0.3364, allocations: 255.1 kB / 450.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.3367, allocations: 59.95 kB / 450.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007698/0.3444, allocations: 7.088 MB / 458 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.3447, allocations: 20.05 kB / 458 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.3448, allocations: 16 kB / 458 MB, free: 12.33 MB / 366.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.0003246/0.3451, allocations: 174.1 kB / 458.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3452, allocations: 51.67 kB / 458.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.3454, allocations: 65.03 kB / 458.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3454, allocations: 4 kB / 458.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.3454, allocations: 7.938 kB / 458.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.3454, allocations: 7.984 kB / 458.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.3478, allocations: 1.295 MB / 459.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3478, allocations: 128 / 459.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.3481, allocations: 51.97 kB / 459.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007251/0.3488, allocations: 259.5 kB / 459.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3488, allocations: 19.98 kB / 460 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007647/0.3565, allocations: 7.1 MB / 467.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3565, allocations: 4.062 kB / 467.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.3585, allocations: 1.017 MB / 468.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.3587, allocations: 83.66 kB / 468.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.3588, allocations: 12 kB / 468.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.359, allocations: 19.98 kB / 468.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.3592, allocations: 56.39 kB / 468.3 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.3592, allocations: 12 kB / 468.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003598/0.3596, allocations: 263.2 kB / 468.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3596, allocations: 4 kB / 468.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000911/0.3605, allocations: 176 kB / 468.7 MB, free: 1.098 MB / 366.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.0001713/0.3607, allocations: 115.1 kB / 468.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.3625, allocations: 1.009 MB / 469.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3625, allocations: 0 / 469.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.3638, allocations: 0.8334 MB / 470.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.3643, allocations: 95.95 kB / 470.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.3667, allocations: 1.286 MB / 472 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.3673, allocations: 0.8754 MB / 472.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.3674, allocations: 48.55 kB / 473 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.3675, allocations: 35.41 kB / 473 MB, free: 12.64 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3675, allocations: 0 / 473 MB, free: 12.64 MB / 382.1 MB Notification: Performance of Templates: time 0.01846/0.3859, allocations: 9.596 MB / 482.6 MB, free: 3.109 MB / 382.1 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: 5.380668423138559]