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.0007384/0.0007384, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009635/0.001702, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006868/0.0006868, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008238/0.001511, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9042/0.9042, allocations: 158.6 MB / 171.1 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1557/1.06, allocations: 49.5 MB / 220.6 MB, free: 1.445 MB / 218.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 1.473e-06/1.473e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.345e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.007552/0.007576, allocations: 3.849 MB / 225.7 MB, free: 12.29 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.00929, allocations: 1.045 MB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.0126, allocations: 4 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.01278, allocations: 91.12 kB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.01312, allocations: 186.4 kB / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.01359, allocations: 207.6 kB / 227.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.01434, allocations: 0.7703 MB / 228 MB, free: 9.98 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.01455, allocations: 118.2 kB / 228.1 MB, free: 9.863 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006236/0.01518, allocations: 0.5001 MB / 228.6 MB, free: 9.363 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.01853, allocations: 263.3 kB / 228.9 MB, free: 9.105 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.01863, allocations: 72 kB / 228.9 MB, free: 9.035 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.01871, allocations: 76 kB / 229 MB, free: 8.961 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.0188, allocations: 103.7 kB / 229.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.01899, allocations: 175.7 kB / 229.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.01946, allocations: 446.5 kB / 229.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.01947, allocations: 0 / 229.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01947, allocations: 3.938 kB / 229.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.01949, allocations: 0 / 229.7 MB, free: 8.246 MB / 234.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.00141/0.0209, allocations: 0.9374 MB / 230.7 MB, free: 7.277 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.02093, allocations: 8.031 kB / 230.7 MB, free: 7.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.02103, allocations: 64.88 kB / 230.7 MB, free: 7.207 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.02441, allocations: 259.9 kB / 231 MB, free: 6.926 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.02445, allocations: 29.38 kB / 231 MB, free: 6.898 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.0245, allocations: 36.38 kB / 231 MB, free: 6.863 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.02532, allocations: 423.4 kB / 231.5 MB, free: 6.418 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.02533, allocations: 3.938 kB / 231.5 MB, free: 6.414 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.02536, allocations: 16 kB / 231.5 MB, free: 6.398 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.02537, allocations: 12 kB / 231.5 MB, free: 6.387 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.02562, allocations: 122.9 kB / 231.6 MB, free: 6.266 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.03031, allocations: 1.265 MB / 232.9 MB, free: 4.941 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.03127, allocations: 334.6 kB / 233.2 MB, free: 4.605 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.03145, allocations: 120.8 kB / 233.3 MB, free: 4.484 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.03148, allocations: 8.625 kB / 233.3 MB, free: 4.477 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.03175, allocations: 225.5 kB / 233.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of pre-optimization done (n=39): time 1.833e-06/0.03176, allocations: 0 / 233.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of matching and sorting (n=39): time 0.002274/0.03403, allocations: 0.7712 MB / 234.3 MB, free: 3.453 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.03406, allocations: 59.39 kB / 234.4 MB, free: 3.383 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.03424, allocations: 323.3 kB / 234.7 MB, free: 3.055 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.03427, allocations: 33.7 kB / 234.7 MB, free: 3.016 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.03437, allocations: 193.7 kB / 234.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.03446, allocations: 134.8 kB / 235 MB, free: 2.688 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.03457, allocations: 70.03 kB / 235.1 MB, free: 2.613 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.03467, allocations: 362.7 kB / 235.5 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.0348, allocations: 78.55 kB / 235.5 MB, free: 2.168 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.03494, allocations: 146 kB / 235.7 MB, free: 2.004 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.03519, allocations: 187.8 kB / 235.9 MB, free: 1.809 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.03519, allocations: 0 / 235.9 MB, free: 1.809 MB / 234.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001099/0.03629, allocations: 445.2 kB / 236.3 MB, free: 1.352 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.03633, allocations: 33.69 kB / 236.3 MB, free: 1.312 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.03634, allocations: 0 / 236.3 MB, free: 1.312 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.03679, allocations: 198.6 kB / 236.5 MB, free: 1.117 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.03706, allocations: 83.88 kB / 236.6 MB, free: 1.035 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.04002, allocations: 2.011 MB / 238.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.04029, allocations: 55.73 kB / 238.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.04032, allocations: 16 kB / 238.7 MB, free: 14.88 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.0001221/0.04044, allocations: 133.7 kB / 238.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.0405, allocations: 35.95 kB / 238.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.04057, allocations: 52.25 kB / 238.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.04057, allocations: 4 kB / 238.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.04057, allocations: 0 / 238.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.04058, allocations: 7.922 kB / 238.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.04089, allocations: 285.9 kB / 239.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.04089, allocations: 8 kB / 239.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.04113, allocations: 63.94 kB / 239.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.04124, allocations: 47.64 kB / 239.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.04164, allocations: 192.6 kB / 239.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.04167, allocations: 8 kB / 239.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.04417, allocations: 2.002 MB / 241.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.04418, allocations: 0 / 241.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009239/0.0451, allocations: 438.3 kB / 241.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.04515, allocations: 11.94 kB / 242 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.04534, allocations: 39.95 kB / 242 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.04544, allocations: 51.91 kB / 242 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.04547, allocations: 4 kB / 242 MB, free: 11.38 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.04558, allocations: 140.7 kB / 242.2 MB, free: 11.24 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04558, allocations: 0 / 242.2 MB, free: 11.24 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004231/0.046, allocations: 163.9 kB / 242.3 MB, free: 11.08 MB / 250.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.0001267/0.04613, allocations: 96.42 kB / 242.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007303/0.04686, allocations: 495.9 kB / 242.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/0.04688, allocations: 4 kB / 242.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.04733, allocations: 334.8 kB / 243.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.04762, allocations: 127.9 kB / 243.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.05176, allocations: 0.9062 MB / 244.3 MB, free: 9.047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.948e-05/0.05185, allocations: 117.8 kB / 244.4 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.05201, allocations: 43.27 kB / 244.4 MB, free: 8.871 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.0522, allocations: 127.2 kB / 244.6 MB, free: 8.746 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0522, allocations: 4 kB / 244.6 MB, free: 8.742 MB / 250.7 MB Notification: Performance of Templates: time 0.0143/0.0665, allocations: 12.74 MB / 257.3 MB, free: 11.99 MB / 266.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 -ignoreHideResult -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.3530238065868616]