Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 54.88 kB / 347.7 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3915, allocations: 49.15 MB / 396.8 MB, free: 9.535 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.007518/0.399, allocations: 3.913 MB / 400.7 MB, free: 6.738 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003427/0.4024, allocations: 1.045 MB / 401.8 MB, free: 5.98 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.4033, allocations: 6.75 kB / 401.8 MB, free: 5.98 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.4037, allocations: 89.78 kB / 401.9 MB, free: 5.926 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007032/0.4044, allocations: 170.9 kB / 402 MB, free: 5.801 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.4054, allocations: 211.8 kB / 402.2 MB, free: 5.668 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001439/0.4068, allocations: 0.7618 MB / 403 MB, free: 5.27 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.4072, allocations: 119.5 kB / 403.1 MB, free: 5.195 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007816/0.408, allocations: 303.8 kB / 403.4 MB, free: 5.047 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.4086, allocations: 337.5 kB / 403.7 MB, free: 4.879 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.4088, allocations: 76.44 kB / 403.8 MB, free: 4.879 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.409, allocations: 76.06 kB / 403.9 MB, free: 4.879 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.4091, allocations: 148.5 kB / 404 MB, free: 4.773 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.4095, allocations: 316 kB / 404.3 MB, free: 4.574 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4105, allocations: 0.8056 MB / 405.2 MB, free: 4.25 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4105, allocations: 3.938 kB / 405.2 MB, free: 4.246 MB / 318.1 MB
Notification: Performance of FrontEnd: time 2.134e-06/0.4105, allocations: 1.094 kB / 405.2 MB, free: 4.246 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.439e-05/0.4106, allocations: 0 / 405.2 MB, free: 4.246 MB / 318.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 88
 * Number of variables: 88
Notification: Performance of Generate backend data structure: time 0.002888/0.4135, allocations: 0.9169 MB / 406.1 MB, free: 3.664 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4135, allocations: 13.8 kB / 406.1 MB, free: 3.66 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.4137, allocations: 61.31 kB / 406.1 MB, free: 3.629 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.4143, allocations: 346.8 kB / 406.5 MB, free: 3.359 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.4144, allocations: 29.73 kB / 406.5 MB, free: 3.344 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.4145, allocations: 40.12 kB / 406.6 MB, free: 3.328 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.4161, allocations: 0.5572 MB / 407.1 MB, free: 3.09 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4161, allocations: 3.938 kB / 407.1 MB, free: 3.086 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.4161, allocations: 12.06 kB / 407.1 MB, free: 3.078 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.4162, allocations: 13.25 kB / 407.1 MB, free: 3.074 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.418, allocations: 0.5742 MB / 407.7 MB, free: 2.895 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.4218, allocations: 1.955 MB / 409.7 MB, free: 1.535 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.4254, allocations: 0.7645 MB / 410.4 MB, free: 1.148 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.4264, allocations: 345.5 kB / 410.8 MB, free: 0.9844 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.4265, allocations: 9.391 kB / 410.8 MB, free: 0.9805 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.4276, allocations: 400.1 kB / 411.2 MB, free: 0.7305 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=39): time 3.286e-06/0.4276, allocations: 0 / 411.2 MB, free: 0.7305 MB / 318.1 MB
Notification: Performance of matching and sorting (n=39): time 0.01009/0.4377, allocations: 1.723 MB / 412.9 MB, free: 15.87 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.4378, allocations: 83.17 kB / 413 MB, free: 15.77 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4389, allocations: 384.9 kB / 413.4 MB, free: 15.53 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.4391, allocations: 36.67 kB / 413.4 MB, free: 15.49 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.4394, allocations: 226.9 kB / 413.6 MB, free: 15.29 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.4396, allocations: 139 kB / 413.7 MB, free: 15.17 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.4398, allocations: 68.88 kB / 413.8 MB, free: 15.12 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0006195/0.4405, allocations: 353.5 kB / 414.2 MB, free: 14.77 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.4415, allocations: 267.2 kB / 414.4 MB, free: 14.65 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.4425, allocations: 308.1 kB / 414.7 MB, free: 14.48 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.4445, allocations: 0.5401 MB / 415.3 MB, free: 14.2 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4445, allocations: 0 / 415.3 MB, free: 14.2 MB / 334.1 MB
Notification: Performance of matching and sorting (n=47) (initialization): time 0.005295/0.4498, allocations: 1.05 MB / 416.3 MB, free: 13.65 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.235e-05/0.4498, allocations: 31.42 kB / 416.3 MB, free: 13.62 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4499, allocations: 1.219 kB / 416.3 MB, free: 13.62 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.4515, allocations: 401.2 kB / 416.7 MB, free: 13.43 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/0.4521, allocations: 85.89 kB / 416.8 MB, free: 13.4 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.4626, allocations: 3.578 MB / 420.4 MB, free: 10.71 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000956/0.4636, allocations: 87.39 kB / 420.5 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.4637, allocations: 13.88 kB / 420.5 MB, free: 10.66 MB / 334.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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.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.0005577/0.4643, allocations: 164.9 kB / 420.7 MB, free: 10.51 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.4645, allocations: 47.94 kB / 420.7 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4648, allocations: 58.73 kB / 420.8 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4648, allocations: 4 kB / 420.8 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4648, allocations: 3.938 kB / 420.8 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4649, allocations: 0.9688 kB / 420.8 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.4661, allocations: 0.5532 MB / 421.3 MB, free: 9.973 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/0.4661, allocations: 5.219 kB / 421.3 MB, free: 9.969 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.4667, allocations: 78.86 kB / 421.4 MB, free: 9.941 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.468, allocations: 391.2 kB / 421.8 MB, free: 9.754 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.4681, allocations: 10.52 kB / 421.8 MB, free: 9.746 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009437/0.4775, allocations: 3.566 MB / 425.4 MB, free: 6.273 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4775, allocations: 0 / 425.4 MB, free: 6.273 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005084/0.4826, allocations: 1.244 MB / 426.6 MB, free: 5.008 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.483, allocations: 95.73 kB / 426.7 MB, free: 4.914 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.4833, allocations: 15.92 kB / 426.7 MB, free: 4.898 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.484, allocations: 63.92 kB / 426.8 MB, free: 4.836 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.4842, allocations: 51.91 kB / 426.8 MB, free: 4.785 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.4843, allocations: 15.98 kB / 426.8 MB, free: 4.77 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0004566/0.4847, allocations: 267.2 kB / 427.1 MB, free: 4.512 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.4847, allocations: 0 / 427.1 MB, free: 4.512 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0008994/0.4856, allocations: 171.9 kB / 427.3 MB, free: 4.344 MB / 334.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,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count)
 * Number of discrete states: 1 (pulseCurrent.signalSource.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (24):
 * Single equations (assignments): 21
 * 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.000239/0.4859, allocations: 115.4 kB / 427.4 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.002919/0.4888, allocations: 0.8643 MB / 428.3 MB, free: 3.332 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4888, allocations: 0 / 428.3 MB, free: 3.332 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001754/0.4905, allocations: 0.5217 MB / 428.8 MB, free: 2.797 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/0.4912, allocations: 85.3 kB / 428.9 MB, free: 2.715 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.4951, allocations: 1.168 MB / 430 MB, free: 1.52 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.4957, allocations: 0.8355 MB / 430.9 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0002934/0.496, allocations: 39.28 kB / 430.9 MB, free: 0.6211 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.4961, allocations: 27.44 kB / 430.9 MB, free: 0.5938 MB / 334.1 MB
Notification: Performance of SimCode: time 1.422e-06/0.4961, allocations: 0 / 430.9 MB, free: 0.5938 MB / 334.1 MB
Notification: Performance of Templates: time 0.02854/0.5247, allocations: 13.63 MB / 444.5 MB, free: 2.945 MB / 350.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.650072432123125]