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.001786/0.001786, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 14.72 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.002239/0.002239, allocations: 164.2 kB / 24.71 MB, free: 3.543 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.343/1.343, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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.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 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.565e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004997/0.005022, allocations: 3.525 MB / 302.5 MB, free: 5.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.007082, allocations: 0.9866 MB / 303.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.007288, allocations: 7.938 kB / 303.5 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.007525, allocations: 87.14 kB / 303.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.00785, allocations: 182.4 kB / 303.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.008333, allocations: 211.6 kB / 304 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009183/0.009251, allocations: 0.7781 MB / 304.7 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.009572, allocations: 121.5 kB / 304.8 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.01024, allocations: 427.1 kB / 305.3 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.01074, allocations: 271.2 kB / 305.5 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.01088, allocations: 80 kB / 305.6 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.01101, allocations: 76 kB / 305.7 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.0112, allocations: 147.5 kB / 305.8 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.01155, allocations: 227.5 kB / 306 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.01259, allocations: 0.8491 MB / 306.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.01259, allocations: 0 / 306.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01259, allocations: 0 / 306.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.0126, allocations: 4 kB / 306.9 MB, free: 0.7227 MB / 286.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.002607/0.01521, allocations: 0.9196 MB / 307.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.01525, allocations: 11.98 kB / 307.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.01539, allocations: 60.56 kB / 307.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.01602, allocations: 347.7 kB / 308.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.01606, allocations: 29.38 kB / 308.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.01614, allocations: 36.38 kB / 308.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.01757, allocations: 0.5848 MB / 308.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.01759, allocations: 3.938 kB / 308.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.01765, allocations: 19.98 kB / 308.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.01766, allocations: 8 kB / 308.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.01957, allocations: 0.5815 MB / 309.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.02319, allocations: 1.749 MB / 311.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/0.02708, allocations: 0.7601 MB / 312 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.02809, allocations: 340.6 kB / 312.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.02813, allocations: 4 kB / 312.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/0.02938, allocations: 425.4 kB / 312.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.756e-06/0.02938, allocations: 0 / 312.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.01034/0.03971, allocations: 1.712 MB / 314.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.0398, allocations: 93.05 kB / 314.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.04033, allocations: 361.7 kB / 314.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.04039, allocations: 37.7 kB / 314.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.04061, allocations: 236.8 kB / 315.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.04076, allocations: 134.9 kB / 315.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.04094, allocations: 74.06 kB / 315.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.04111, allocations: 350.8 kB / 315.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009162/0.04203, allocations: 298.4 kB / 316 MB, free: 7.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000952/0.04298, allocations: 365.8 kB / 316.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.04474, allocations: 0.5405 MB / 316.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.04474, allocations: 0 / 316.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004856/0.0496, allocations: 1.078 MB / 318 MB, free: 5.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.04966, allocations: 37.64 kB / 318 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.04966, allocations: 0 / 318 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.05099, allocations: 396.4 kB / 318.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.05146, allocations: 91.81 kB / 318.5 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008899/0.06036, allocations: 3.461 MB / 322 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.06106, allocations: 83.72 kB / 322 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.06112, allocations: 15.98 kB / 322.1 MB, free: 1.117 MB / 302.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.0002762/0.06139, allocations: 165.8 kB / 322.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/0.06148, allocations: 43.72 kB / 322.3 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.0616, allocations: 48.25 kB / 322.3 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.06161, allocations: 4 kB / 322.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.06162, allocations: 7.922 kB / 322.3 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.06162, allocations: 4 kB / 322.3 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.06222, allocations: 413.4 kB / 322.7 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.06222, allocations: 0 / 322.7 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.06269, allocations: 79.88 kB / 322.8 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1769/0.2396, allocations: 391.6 kB / 323.2 MB, free: 34.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.2398, allocations: 9.922 kB / 323.2 MB, free: 34.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008113/0.2479, allocations: 3.456 MB / 326.7 MB, free: 32.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2479, allocations: 1.141 kB / 326.7 MB, free: 32.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/0.2534, allocations: 1.25 MB / 327.9 MB, free: 32.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.2538, allocations: 102.1 kB / 328 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.2539, allocations: 12.69 kB / 328 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/0.2547, allocations: 60.72 kB / 328.1 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.255, allocations: 57.27 kB / 328.1 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.2551, allocations: 12.47 kB / 328.1 MB, free: 32.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000448/0.2555, allocations: 265.1 kB / 328.4 MB, free: 32.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2555, allocations: 0 / 328.4 MB, free: 32.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009988/0.2565, allocations: 166.4 kB / 328.6 MB, free: 32.25 MB / 302.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.0002264/0.2567, allocations: 113.1 kB / 328.7 MB, free: 32.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003574/0.2603, allocations: 0.8828 MB / 329.6 MB, free: 31.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2603, allocations: 0 / 329.6 MB, free: 31.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.2625, allocations: 0.5244 MB / 330.1 MB, free: 31.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.2632, allocations: 81.92 kB / 330.2 MB, free: 31.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.2671, allocations: 1.068 MB / 331.2 MB, free: 30.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2675, allocations: 231.2 kB / 331.5 MB, free: 30.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.2677, allocations: 43.08 kB / 331.5 MB, free: 30.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.2679, allocations: 36.19 kB / 331.5 MB, free: 30.82 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2679, allocations: 0 / 331.5 MB, free: 30.82 MB / 302.1 MB Notification: Performance of Templates: time 0.02619/0.2941, allocations: 12.49 MB / 344 MB, free: 24.52 MB / 302.1 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=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: 5.552924908697605]