Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001264/0.001264, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00153/0.00153, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 258.2 MB, free: 8.07 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-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 56.78 kB / 379 MB, free: 2.66 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2731, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005882/0.279, allocations: 4.135 MB / 436.5 MB, free: 2.812 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002534/0.2816, allocations: 1.071 MB / 437.6 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.2819, allocations: 11.94 kB / 437.6 MB, free: 1.723 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.2821, allocations: 83.14 kB / 437.7 MB, free: 1.641 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.2825, allocations: 198.4 kB / 437.9 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.2831, allocations: 223.7 kB / 438.1 MB, free: 1.227 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008867/0.284, allocations: 0.8173 MB / 438.9 MB, free: 416 kB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.2842, allocations: 127.4 kB / 439.1 MB, free: 284 kB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.2848, allocations: 331 kB / 439.4 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.2853, allocations: 358.5 kB / 439.7 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000107/0.2854, allocations: 84 kB / 439.8 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.2855, allocations: 88 kB / 439.9 MB, free: 15.43 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.2857, allocations: 167.4 kB / 440.1 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.286, allocations: 330.5 kB / 440.4 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009785/0.287, allocations: 0.8638 MB / 441.3 MB, free: 14.08 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.287, allocations: 0 / 441.3 MB, free: 14.08 MB / 350.1 MB
Notification: Performance of FrontEnd: time 2.425e-06/0.287, allocations: 0 / 441.3 MB, free: 14.08 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.027e-05/0.287, allocations: 0 / 441.3 MB, free: 14.08 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.00287/0.2899, allocations: 0.988 MB / 442.2 MB, free: 13.06 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.2899, allocations: 11.97 kB / 442.3 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.2902, allocations: 72.55 kB / 442.3 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.2909, allocations: 360.5 kB / 442.7 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.2909, allocations: 37.31 kB / 442.7 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.291, allocations: 40.36 kB / 442.8 MB, free: 12.52 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.2925, allocations: 0.5954 MB / 443.3 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2925, allocations: 0 / 443.3 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/0.2926, allocations: 23.98 kB / 443.4 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.2926, allocations: 15.94 kB / 443.4 MB, free: 11.87 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.2945, allocations: 0.6323 MB / 444 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00392/0.2984, allocations: 2.126 MB / 446.1 MB, free: 9.012 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003809/0.3022, allocations: 0.8237 MB / 447 MB, free: 8.18 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3032, allocations: 375.2 kB / 447.3 MB, free: 7.812 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.3033, allocations: 8.328 kB / 447.3 MB, free: 7.805 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.3044, allocations: 434.6 kB / 447.8 MB, free: 7.363 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.3044, allocations: 0 / 447.8 MB, free: 7.363 MB / 350.1 MB
Notification: Performance of matching and sorting (n=40): time 0.01448/0.3189, allocations: 2.297 MB / 450.1 MB, free: 5.055 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.319, allocations: 93.09 kB / 450.2 MB, free: 4.945 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.3196, allocations: 417.9 kB / 450.6 MB, free: 4.527 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.3197, allocations: 33.7 kB / 450.6 MB, free: 4.488 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.3199, allocations: 240.8 kB / 450.8 MB, free: 4.246 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.32, allocations: 142.8 kB / 451 MB, free: 4.105 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3202, allocations: 70.06 kB / 451 MB, free: 4.027 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002124/0.3204, allocations: 358.7 kB / 451.4 MB, free: 3.668 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/0.3213, allocations: 300.6 kB / 451.7 MB, free: 3.375 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009006/0.3222, allocations: 338.1 kB / 452 MB, free: 3.039 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.3239, allocations: 0.5951 MB / 452.6 MB, free: 2.43 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3239, allocations: 4 kB / 452.6 MB, free: 2.426 MB / 350.1 MB
Notification: Performance of matching and sorting (n=47) (initialization): time 0.00348/0.3274, allocations: 0.998 MB / 453.6 MB, free: 1.414 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.3274, allocations: 36.36 kB / 453.6 MB, free: 1.375 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3274, allocations: 0 / 453.6 MB, free: 1.375 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.3287, allocations: 432.5 kB / 454.1 MB, free: 0.9492 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.3292, allocations: 95.84 kB / 454.2 MB, free: 0.8555 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008724/0.3379, allocations: 3.694 MB / 457.9 MB, free: 13.05 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.3386, allocations: 95.69 kB / 457.9 MB, free: 12.96 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.3387, allocations: 23.97 kB / 458 MB, free: 12.93 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.0002909/0.339, allocations: 182.7 kB / 458.1 MB, free: 12.75 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3391, allocations: 51.67 kB / 458.2 MB, free: 12.7 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.3392, allocations: 60.52 kB / 458.3 MB, free: 12.64 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3392, allocations: 4 kB / 458.3 MB, free: 12.63 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3392, allocations: 4 kB / 458.3 MB, free: 12.63 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3392, allocations: 0 / 458.3 MB, free: 12.63 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008239/0.34, allocations: 0.5978 MB / 458.9 MB, free: 11.99 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.34, allocations: 4 kB / 458.9 MB, free: 11.98 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.3405, allocations: 83.86 kB / 459 MB, free: 11.9 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.3417, allocations: 432.5 kB / 459.4 MB, free: 11.48 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.3418, allocations: 12 kB / 459.4 MB, free: 11.46 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008613/0.3504, allocations: 3.712 MB / 463.1 MB, free: 7.645 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3504, allocations: 0 / 463.1 MB, free: 7.645 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006117/0.3565, allocations: 1.5 MB / 464.6 MB, free: 6.121 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/0.3569, allocations: 107.6 kB / 464.7 MB, free: 6.016 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.357, allocations: 15.92 kB / 464.7 MB, free: 6 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.3576, allocations: 67.91 kB / 464.8 MB, free: 5.934 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.3578, allocations: 55.86 kB / 464.8 MB, free: 5.879 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.3578, allocations: 15.98 kB / 464.9 MB, free: 5.863 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0003993/0.3582, allocations: 295.1 kB / 465.1 MB, free: 5.578 MB / 366.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3582, allocations: 0 / 465.1 MB, free: 5.578 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006659/0.3589, allocations: 179.8 kB / 465.3 MB, free: 5.402 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.000195/0.3591, allocations: 99.25 kB / 465.4 MB, free: 5.297 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.00281/0.3619, allocations: 0.9462 MB / 466.4 MB, free: 4.324 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3619, allocations: 4.062 kB / 466.4 MB, free: 4.32 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001584/0.3635, allocations: 0.5726 MB / 466.9 MB, free: 3.734 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.3641, allocations: 93.72 kB / 467 MB, free: 3.645 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.3677, allocations: 1.268 MB / 468.3 MB, free: 2.348 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.3682, allocations: 0.8355 MB / 469.1 MB, free: 1.484 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0002384/0.3685, allocations: 47.38 kB / 469.2 MB, free: 1.434 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3686, allocations: 39.38 kB / 469.2 MB, free: 1.395 MB / 366.1 MB
Notification: Performance of SimCode: time 1.132e-06/0.3686, allocations: 0 / 469.2 MB, free: 1.395 MB / 366.1 MB
Notification: Performance of Templates: time 0.02525/0.3938, allocations: 14.42 MB / 483.6 MB, free: 3.059 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.719893764704466]