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.001439/0.001439, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001466/0.001466, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001561/0.001561, allocations: 51.92 kB / 378.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005592/0.2403, allocations: 3.845 MB / 435.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2423, allocations: 0.9811 MB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.2425, allocations: 11.94 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.2428, allocations: 95.06 kB / 436.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.2433, allocations: 206.2 kB / 436.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.2437, allocations: 187.7 kB / 436.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007981/0.2445, allocations: 0.74 MB / 437.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.2448, allocations: 151.6 kB / 437.8 MB, free: 480 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.2452, allocations: 294.9 kB / 438.1 MB, free: 184 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.2456, allocations: 290.5 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.146e-05/0.2457, allocations: 63.94 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.2458, allocations: 64 kB / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.246, allocations: 151.4 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.2463, allocations: 278.7 kB / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008163/0.2471, allocations: 0.7274 MB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2471, allocations: 4 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2471, allocations: 0 / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2471, allocations: 0 / 439.7 MB, free: 14.61 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.001574/0.2487, allocations: 0.8594 MB / 440.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2488, allocations: 8.031 kB / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.2491, allocations: 100.5 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.2498, allocations: 336.3 kB / 440.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.2498, allocations: 41.69 kB / 441 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.744e-05/0.2499, allocations: 52.33 kB / 441 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009924/0.2509, allocations: 0.5493 MB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2509, allocations: 0 / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.251, allocations: 20 kB / 441.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.251, allocations: 12 kB / 441.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.2519, allocations: 451.6 kB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.2547, allocations: 1.789 MB / 443.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.2556, allocations: 0.5034 MB / 444.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.2563, allocations: 358 kB / 444.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.2563, allocations: 12.44 kB / 444.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.2563, allocations: 39.06 kB / 444.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.973e-06/0.2563, allocations: 0 / 444.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004351/0.2607, allocations: 1.728 MB / 446.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.2607, allocations: 55.91 kB / 446.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.2611, allocations: 337.7 kB / 446.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.2611, allocations: 37.7 kB / 446.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.2613, allocations: 245.2 kB / 447.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.2615, allocations: 214.2 kB / 447.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.2617, allocations: 98.3 kB / 447.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.2618, allocations: 358.8 kB / 447.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.2622, allocations: 161.2 kB / 448 MB, free: 6.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.2626, allocations: 212.8 kB / 448.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.2633, allocations: 378.1 kB / 448.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2633, allocations: 4 kB / 448.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001272/0.2646, allocations: 0.6563 MB / 449.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2646, allocations: 4 kB / 449.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.2646, allocations: 0 / 449.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007578/0.2654, allocations: 271 kB / 449.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.2657, allocations: 59.97 kB / 449.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/0.2729, allocations: 6.945 MB / 456.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.2732, allocations: 15.98 kB / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.2733, allocations: 16 kB / 456.5 MB, free: 13.05 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.0002612/0.2735, allocations: 185 kB / 456.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-05/0.2736, allocations: 47.72 kB / 456.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2737, allocations: 60.8 kB / 456.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2737, allocations: 8 kB / 456.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.2737, allocations: 0 / 456.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.2738, allocations: 7.922 kB / 456.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.2759, allocations: 1.163 MB / 458 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2759, allocations: 480 / 458 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.2762, allocations: 63.89 kB / 458 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006652/0.2769, allocations: 259.1 kB / 458.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2769, allocations: 12 kB / 458.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006931/0.2838, allocations: 6.954 MB / 465.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2838, allocations: 96 / 465.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.2856, allocations: 1.017 MB / 466.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.2858, allocations: 83.66 kB / 466.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.2859, allocations: 12 kB / 466.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.2862, allocations: 15.98 kB / 466.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.2863, allocations: 48.41 kB / 466.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.2863, allocations: 19.98 kB / 466.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.2866, allocations: 243.2 kB / 466.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2866, allocations: 3.938 kB / 466.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009039/0.2875, allocations: 176 kB / 466.9 MB, free: 2.195 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.0001733/0.2877, allocations: 111.7 kB / 467 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.2893, allocations: 1.009 MB / 468 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2893, allocations: 0 / 468 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.2904, allocations: 0.8252 MB / 468.8 MB, free: 144 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.2909, allocations: 81.33 kB / 468.9 MB, free: 64 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.2932, allocations: 1.299 MB / 470.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.2935, allocations: 283.6 kB / 470.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.2936, allocations: 44.38 kB / 470.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.2937, allocations: 31.42 kB / 470.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2937, allocations: 0 / 470.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of Templates: time 0.0168/0.3105, allocations: 9.015 MB / 479.5 MB, free: 5.441 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.164483061060309]