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.001689/0.001689, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001993/0.001993, allocations: 211.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 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 0.001619/0.001619, allocations: 51.91 kB / 378.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2653, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005567/0.2708, allocations: 3.846 MB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.2727, allocations: 0.985 MB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.2729, allocations: 12 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.2732, allocations: 99 kB / 436.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.2737, allocations: 202.2 kB / 436.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.2741, allocations: 187.7 kB / 436.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.2749, allocations: 0.7361 MB / 437.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.2752, allocations: 159.7 kB / 437.8 MB, free: 476 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.2756, allocations: 302.9 kB / 438.1 MB, free: 172 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.276, allocations: 326.6 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.391e-05/0.2761, allocations: 64 kB / 438.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2762, allocations: 64 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.2764, allocations: 151.4 kB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.2767, allocations: 278.6 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007685/0.2774, allocations: 0.7274 MB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2774, allocations: 4 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.2774, allocations: 4 kB / 439.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2774, allocations: 0 / 439.7 MB, free: 14.56 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.001509/0.2789, allocations: 0.8555 MB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.279, allocations: 12.03 kB / 440.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.2793, allocations: 96.48 kB / 440.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.2799, allocations: 340.3 kB / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.28, allocations: 37.69 kB / 441 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.28, allocations: 56.27 kB / 441.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009797/0.281, allocations: 0.5532 MB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.281, allocations: 0 / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.2811, allocations: 23.94 kB / 441.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.2811, allocations: 12 kB / 441.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008913/0.282, allocations: 443.7 kB / 442.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.2848, allocations: 1.781 MB / 443.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/0.2857, allocations: 0.5151 MB / 444.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.2863, allocations: 358 kB / 444.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.2863, allocations: 4.5 kB / 444.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.2863, allocations: 39.06 kB / 444.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.954e-06/0.2863, allocations: 0 / 444.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004305/0.2906, allocations: 1.728 MB / 446.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2907, allocations: 63.91 kB / 446.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.2911, allocations: 337.7 kB / 446.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.2911, allocations: 33.7 kB / 447 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.2913, allocations: 241.3 kB / 447.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.2915, allocations: 214.2 kB / 447.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.2916, allocations: 94.3 kB / 447.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.2918, allocations: 350.8 kB / 447.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.2921, allocations: 173.2 kB / 448 MB, free: 5.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.2925, allocations: 216.8 kB / 448.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.2932, allocations: 374.2 kB / 448.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2932, allocations: 0 / 448.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001248/0.2945, allocations: 0.6641 MB / 449.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2945, allocations: 7.984 kB / 449.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2945, allocations: 0 / 449.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/0.2953, allocations: 259 kB / 449.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.2956, allocations: 67.98 kB / 449.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007318/0.3029, allocations: 6.946 MB / 456.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.3032, allocations: 16.02 kB / 456.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.3032, allocations: 19.98 kB / 456.6 MB, free: 13 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.0002661/0.3035, allocations: 174 kB / 456.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/0.3035, allocations: 47.72 kB / 456.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.3037, allocations: 60.8 kB / 456.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3037, allocations: 8.062 kB / 456.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.3037, allocations: 4 kB / 456.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3037, allocations: 11.97 kB / 456.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.3058, allocations: 1.159 MB / 458 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3059, allocations: 0 / 458 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.3061, allocations: 63.95 kB / 458.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006767/0.3068, allocations: 259.4 kB / 458.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.3068, allocations: 8 kB / 458.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007208/0.314, allocations: 6.954 MB / 465.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.314, allocations: 0 / 465.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.3158, allocations: 1.017 MB / 466.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.3161, allocations: 83.66 kB / 466.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.3161, allocations: 12 kB / 466.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.3163, allocations: 15.98 kB / 466.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.3165, allocations: 56.39 kB / 466.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.3165, allocations: 16 kB / 466.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000267/0.3168, allocations: 243.2 kB / 466.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3168, allocations: 0 / 466.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009229/0.3177, allocations: 176 kB / 466.9 MB, free: 2.148 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.0001941/0.3179, allocations: 113.4 kB / 467 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.3198, allocations: 1.009 MB / 468 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3198, allocations: 0 / 468 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.3211, allocations: 0.8291 MB / 468.8 MB, free: 92 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.3216, allocations: 81.69 kB / 468.9 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.3241, allocations: 1.292 MB / 470.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3245, allocations: 275.6 kB / 470.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.3247, allocations: 52.34 kB / 470.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.3247, allocations: 27.44 kB / 470.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3247, allocations: 0 / 470.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01741/0.3421, allocations: 9.184 MB / 479.8 MB, free: 5.234 MB / 382.1 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: 5.177961960900575]