Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002352/0.0002352, allocations: 0 / 0, free: 0 / 0 " [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.0002014/0.0002014, allocations: 0 / 0, free: 0 / 0 " [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 0.08989/0.08989, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,startTime=0,stopTime=0.001,tolerance=1e-12,numberOfIntervals=2000,outputFormat="mat",variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,startTime=0,stopTime=0.001,tolerance=1e-12,numberOfIntervals=2000,outputFormat="mat",variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.582e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004881/0.004896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002066/0.006963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.007163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.007387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.007873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.008427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0005706/0.008997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.009203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0006316/0.009834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.0102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.01029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.01038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.01053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.01078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.0114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 7.927e-05/0.01148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.502e-06/0.01148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.234e-06/0.01149, allocations: 0 / 0, free: 0 / 0 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.00156/0.01305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.057e-05/0.01313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.01332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.01376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.68e-05/0.01382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.01391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.01462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.01468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.01469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.01496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.0169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.01801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.01822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.01825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.01856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=40): time 5.18e-06/0.01857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=40): time 0.004182/0.02275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.02278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.02299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.02305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.02314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/0.02324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.02335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.715e-05/0.02338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.02348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.0236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.02385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007324/0.02458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.02461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.02461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.02531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.0278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.02804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.02808, allocations: 0 / 0, free: 0 / 0 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.0001412/0.02822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.02827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.02835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.02835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.02836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.02836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.02869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.02891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.02933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.02936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.03166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.03166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.03291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.03305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.03321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.03343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.03357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.0336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001106/0.03371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.041e-05/0.03372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006525/0.03438, allocations: 0 / 0, free: 0 / 0 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.000137/0.03451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006223/0.03513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.03554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.03588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.03736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.03745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001115/0.03756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.03779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.116e-05/0.03782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001922/0.03974, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.3636090098880231]