Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 190.1 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 251.4 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 51.91 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2667, allocations: 52.13 MB / 421.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005603/0.2723, allocations: 4.075 MB / 425.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.2743, allocations: 1.017 MB / 426.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.2745, allocations: 11.94 kB / 426.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.2748, allocations: 79.2 kB / 426.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.2751, allocations: 194.4 kB / 426.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.2756, allocations: 211.7 kB / 426.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008598/0.2765, allocations: 0.8094 MB / 427.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.2767, allocations: 122.5 kB / 427.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.2771, allocations: 303 kB / 428.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004621/0.2776, allocations: 366.5 kB / 428.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.2777, allocations: 84 kB / 428.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.2779, allocations: 84 kB / 428.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.278, allocations: 155.5 kB / 428.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.2784, allocations: 334.5 kB / 429.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009168/0.2793, allocations: 0.8404 MB / 429.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2793, allocations: 3.938 kB / 429.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2793, allocations: 4 kB / 430 MB, free: 6.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2793, allocations: 0 / 430 MB, free: 6.48 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002732/0.2821, allocations: 1.045 MB / 431 MB, free: 5.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2821, allocations: 12.03 kB / 431 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.2822, allocations: 60.56 kB / 431.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.2829, allocations: 414.3 kB / 431.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.2829, allocations: 29.38 kB / 431.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.685e-05/0.283, allocations: 36.38 kB / 431.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.2845, allocations: 0.6031 MB / 432.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2845, allocations: 0 / 432.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.2845, allocations: 16 kB / 432.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2846, allocations: 8 kB / 432.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.2865, allocations: 0.6206 MB / 432.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.2905, allocations: 2.153 MB / 434.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004082/0.2946, allocations: 0.8035 MB / 435.7 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.2957, allocations: 369.3 kB / 436.1 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.2957, allocations: 8.312 kB / 436.1 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.2969, allocations: 430.6 kB / 436.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.2969, allocations: 0 / 436.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01498/0.3119, allocations: 2.274 MB / 438.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.3119, allocations: 89.11 kB / 438.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.3125, allocations: 406 kB / 439.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.3126, allocations: 33.7 kB / 439.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.3128, allocations: 236.9 kB / 439.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.3129, allocations: 134.8 kB / 439.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.3131, allocations: 74.06 kB / 439.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3133, allocations: 358.7 kB / 440.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009568/0.3143, allocations: 292.5 kB / 440.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009596/0.3152, allocations: 330.1 kB / 440.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.317, allocations: 0.5834 MB / 441.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.317, allocations: 4 kB / 441.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003792/0.3208, allocations: 0.9629 MB / 442.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.3209, allocations: 40.98 kB / 442.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3209, allocations: 0 / 442.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.3222, allocations: 408.4 kB / 442.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.3228, allocations: 87.86 kB / 442.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/0.332, allocations: 3.684 MB / 446.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.3328, allocations: 91.7 kB / 446.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.3328, allocations: 15.98 kB / 446.6 MB, free: 5.332 MB / 350.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: 7 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003089/0.3332, allocations: 173.8 kB / 446.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3333, allocations: 55.61 kB / 446.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.3334, allocations: 56.47 kB / 446.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.3334, allocations: 4 kB / 446.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3334, allocations: 0 / 446.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3334, allocations: 3.984 kB / 446.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.3342, allocations: 0.6106 MB / 447.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3342, allocations: 0 / 447.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.3347, allocations: 83.92 kB / 447.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.3359, allocations: 396.5 kB / 447.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.336, allocations: 15.92 kB / 448 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00882/0.3448, allocations: 3.662 MB / 451.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.3448, allocations: 4 kB / 451.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006274/0.3511, allocations: 1.443 MB / 453.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.3514, allocations: 180.7 kB / 453.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.3515, allocations: 11.94 kB / 453.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.3521, allocations: 71.92 kB / 453.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.3522, allocations: 51.92 kB / 453.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.3523, allocations: 8 kB / 453.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003703/0.3526, allocations: 291.1 kB / 453.7 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3526, allocations: 4 kB / 453.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006689/0.3533, allocations: 175.8 kB / 453.8 MB, free: 13.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.3535, allocations: 114.4 kB / 454 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.3563, allocations: 0.8997 MB / 454.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3563, allocations: 0 / 454.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.3579, allocations: 0.545 MB / 455.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.3584, allocations: 85.59 kB / 455.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.3619, allocations: 1.256 MB / 456.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.3624, allocations: 0.8355 MB / 457.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.3625, allocations: 35.44 kB / 457.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3625, allocations: 0 / 457.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Templates: time 0.01475/0.3773, allocations: 9.919 MB / 467.5 MB, free: 76 kB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches