Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.001299/0.001299, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001424/0.001424, allocations: 215.9 kB / 24.5 MB, free: 4.152 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.507/1.507, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 55.91 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2508, allocations: 53.42 MB / 432.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005624/0.2565, allocations: 4.128 MB / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.2586, allocations: 1.071 MB / 437.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.2588, allocations: 11.94 kB / 437.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.2591, allocations: 83.14 kB / 437.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.2594, allocations: 194.4 kB / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.2599, allocations: 231.5 kB / 438.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008861/0.2608, allocations: 0.829 MB / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.2611, allocations: 119 kB / 439.1 MB, free: 72 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004922/0.2616, allocations: 330.9 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.262, allocations: 354.7 kB / 439.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.2621, allocations: 87.94 kB / 439.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2623, allocations: 91.98 kB / 440 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2624, allocations: 163.5 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.2628, allocations: 330.5 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009387/0.2637, allocations: 0.8599 MB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2637, allocations: 7.922 kB / 441.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2637, allocations: 4 kB / 441.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2637, allocations: 0 / 441.3 MB, free: 13.87 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002752/0.2665, allocations: 0.974 MB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2665, allocations: 12.02 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.2668, allocations: 68.56 kB / 442.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007163/0.2675, allocations: 368.4 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.2675, allocations: 29.38 kB / 442.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.2676, allocations: 40.38 kB / 442.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.2692, allocations: 0.607 MB / 443.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.2692, allocations: 0 / 443.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.2693, allocations: 16 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2693, allocations: 12 kB / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.2713, allocations: 0.6401 MB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.2753, allocations: 2.122 MB / 446.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/0.2795, allocations: 0.8276 MB / 447 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.2807, allocations: 372.7 kB / 447.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.72e-05/0.2807, allocations: 8.328 kB / 447.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.2819, allocations: 438.5 kB / 447.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.2819, allocations: 0 / 447.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0153/0.2972, allocations: 2.301 MB / 450.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.2973, allocations: 89.11 kB / 450.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.2979, allocations: 417.9 kB / 450.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.298, allocations: 29.7 kB / 450.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.2982, allocations: 240.8 kB / 450.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.2983, allocations: 142.8 kB / 451 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.2985, allocations: 74.05 kB / 451.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.2987, allocations: 362.7 kB / 451.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009467/0.2996, allocations: 296.6 kB / 451.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009762/0.3006, allocations: 342.1 kB / 452.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.3025, allocations: 0.6029 MB / 452.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3025, allocations: 0 / 452.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003841/0.3063, allocations: 0.9903 MB / 453.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.3063, allocations: 33.7 kB / 453.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3064, allocations: 0 / 453.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.3078, allocations: 440.4 kB / 454.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.3083, allocations: 83.92 kB / 454.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009895/0.3182, allocations: 3.713 MB / 457.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.319, allocations: 91.73 kB / 458 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.421e-05/0.3191, allocations: 16 kB / 458 MB, free: 12.73 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: 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.0003552/0.3194, allocations: 170.9 kB / 458.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.3196, allocations: 51.66 kB / 458.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.3197, allocations: 56.53 kB / 458.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3197, allocations: 4 kB / 458.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3197, allocations: 4 kB / 458.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3197, allocations: 7.984 kB / 458.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008702/0.3206, allocations: 0.5938 MB / 458.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3206, allocations: 4 kB / 458.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.3211, allocations: 83.91 kB / 459 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.3224, allocations: 436.5 kB / 459.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.3224, allocations: 11.98 kB / 459.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00922/0.3316, allocations: 3.699 MB / 463.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3316, allocations: 3.938 kB / 463.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00648/0.3381, allocations: 1.5 MB / 464.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.3385, allocations: 111.6 kB / 464.7 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.3386, allocations: 11.94 kB / 464.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.3393, allocations: 71.91 kB / 464.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.3394, allocations: 55.91 kB / 464.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.3395, allocations: 8 kB / 464.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004451/0.3399, allocations: 299.1 kB / 465.2 MB, free: 5.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3399, allocations: 3.938 kB / 465.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007832/0.3407, allocations: 175.8 kB / 465.4 MB, free: 5.215 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.0002009/0.3409, allocations: 103.2 kB / 465.5 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.3439, allocations: 0.9463 MB / 466.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3439, allocations: 4.062 kB / 466.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.3456, allocations: 0.5725 MB / 467 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.3462, allocations: 93.67 kB / 467.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.3499, allocations: 1.305 MB / 468.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.3505, allocations: 0.8394 MB / 469.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.3506, allocations: 35.38 kB / 469.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3506, allocations: 0 / 469.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of Templates: time 0.01697/0.3676, allocations: 10.03 MB / 479.3 MB, free: 7.203 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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: 8.587035051779822]