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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 84.3 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [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.001812/0.001812, allocations: 170.2 kB / 25.6 MB, free: 8.477 MB / 18.57 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.087/1.087, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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.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: 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: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.176e-05, allocations: 2.312 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004094/0.004126, allocations: 3.787 MB / 255.3 MB, free: 3.414 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.00613, allocations: 1.002 MB / 256.3 MB, free: 2.402 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.006455, allocations: 7.938 kB / 256.3 MB, free: 2.395 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.006691, allocations: 87.14 kB / 256.4 MB, free: 2.309 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.006996, allocations: 174.4 kB / 256.5 MB, free: 2.137 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.007621, allocations: 215.6 kB / 256.7 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000854/0.008475, allocations: 0.7818 MB / 257.5 MB, free: 1.141 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.008723, allocations: 113.5 kB / 257.6 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.009348, allocations: 443 kB / 258.1 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.009702, allocations: 259.3 kB / 258.3 MB, free: 344 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.216e-05/0.009794, allocations: 72 kB / 258.4 MB, free: 272 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.009877, allocations: 80 kB / 258.5 MB, free: 192 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.009973, allocations: 151.4 kB / 258.6 MB, free: 40 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.01016, allocations: 215.5 kB / 258.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.0107, allocations: 0.4906 MB / 259.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.0107, allocations: 0 / 259.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0107, allocations: 0 / 259.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.01071, allocations: 0 / 259.3 MB, free: 15.34 MB / 250.7 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.001442/0.01216, allocations: 0.957 MB / 260.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.0122, allocations: 11.98 kB / 260.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.01231, allocations: 88.56 kB / 260.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.01267, allocations: 334.6 kB / 260.7 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.0127, allocations: 29.38 kB / 260.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.01276, allocations: 36.38 kB / 260.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/0.01332, allocations: 429.6 kB / 261.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.01333, allocations: 3.938 kB / 261.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.01336, allocations: 12 kB / 261.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.01337, allocations: 8 kB / 261.2 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.0136, allocations: 154.8 kB / 261.4 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.01551, allocations: 1.728 MB / 263.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009547/0.01646, allocations: 363.4 kB / 263.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.01666, allocations: 123.6 kB / 263.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.01669, allocations: 16.56 kB / 263.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.01699, allocations: 236.3 kB / 263.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/0.01699, allocations: 0 / 263.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.002435/0.01942, allocations: 0.848 MB / 264.7 MB, free: 9.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.01948, allocations: 85.05 kB / 264.7 MB, free: 9.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.01979, allocations: 386.5 kB / 265.1 MB, free: 9.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.01983, allocations: 29.7 kB / 265.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.01998, allocations: 283.4 kB / 265.4 MB, free: 8.953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.02009, allocations: 134.8 kB / 265.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.0202, allocations: 79.69 kB / 265.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.02038, allocations: 0.5234 MB / 266.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.02051, allocations: 86.53 kB / 266.2 MB, free: 8.105 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.02067, allocations: 170.5 kB / 266.4 MB, free: 7.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.02092, allocations: 183.3 kB / 266.6 MB, free: 7.719 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02092, allocations: 3.938 kB / 266.6 MB, free: 7.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001086/0.022, allocations: 0.5148 MB / 267.1 MB, free: 7.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.02204, allocations: 29.7 kB / 267.1 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.02205, allocations: 4 kB / 267.1 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.02246, allocations: 203.4 kB / 267.3 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.02265, allocations: 75.89 kB / 267.4 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.02592, allocations: 2.727 MB / 270.1 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.02619, allocations: 59.8 kB / 270.2 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.02622, allocations: 15.94 kB / 270.2 MB, free: 3.957 MB / 250.7 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.0001769/0.0264, allocations: 172.5 kB / 270.4 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.02647, allocations: 59.77 kB / 270.4 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.02654, allocations: 56.23 kB / 270.5 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.02654, allocations: 4 kB / 270.5 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.02655, allocations: 0 / 270.5 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.02655, allocations: 0 / 270.5 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.02694, allocations: 321.2 kB / 270.8 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.02694, allocations: 0 / 270.8 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.02712, allocations: 59.89 kB / 270.9 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.02755, allocations: 199.5 kB / 271.1 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.02759, allocations: 8 kB / 271.1 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.03045, allocations: 2.712 MB / 273.8 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.03045, allocations: 0 / 273.8 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.03152, allocations: 0.5081 MB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.03169, allocations: 91.72 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.03173, allocations: 19.94 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.03191, allocations: 39.95 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.03204, allocations: 47.91 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.03206, allocations: 12 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.03223, allocations: 258.9 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03223, allocations: 0 / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.03276, allocations: 163.8 kB / 274.9 MB, free: 15.07 MB / 266.7 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.000165/0.03292, allocations: 114.5 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008741/0.03379, allocations: 0.5641 MB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.0338, allocations: 0 / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.0343, allocations: 416.8 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.03467, allocations: 88.89 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.03644, allocations: 0.9294 MB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.03654, allocations: 117.8 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.03669, allocations: 39.28 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.03688, allocations: 142.2 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of SimCode: time 1.163e-06/0.03688, allocations: 0 / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of Templates: time 0.01907/0.05595, allocations: 12.6 MB / 289.9 MB, free: 15.96 MB / 282.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.86723361723125]