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.001365/0.001365, allocations: 87.02 kB / 21.99 MB, free: 5.184 MB / 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.001449/0.001449, allocations: 161.4 kB / 25.25 MB, free: 3.031 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.332/1.332, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 62.58 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2586, allocations: 49.15 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005264/0.2638, allocations: 3.511 MB / 352 MB, free: 12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.2658, allocations: 0.9941 MB / 353 MB, free: 11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.266, allocations: 15.94 kB / 353 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.2663, allocations: 83.2 kB / 353.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.2666, allocations: 170.5 kB / 353.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.2671, allocations: 211.6 kB / 353.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.268, allocations: 0.7627 MB / 354.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.2682, allocations: 113.5 kB / 354.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.2687, allocations: 299 kB / 354.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.2692, allocations: 298.7 kB / 355 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.2693, allocations: 76 kB / 355 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.2694, allocations: 76 kB / 355.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.2696, allocations: 147.5 kB / 355.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.2699, allocations: 270.9 kB / 355.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009736/0.2709, allocations: 0.8042 MB / 356.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.2709, allocations: 7.984 kB / 356.3 MB, free: 7.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2709, allocations: 0 / 356.3 MB, free: 7.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2709, allocations: 0 / 356.3 MB, free: 7.695 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.002687/0.2736, allocations: 0.9195 MB / 357.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2736, allocations: 11.98 kB / 357.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.2737, allocations: 64.56 kB / 357.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.2744, allocations: 340.5 kB / 357.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.2745, allocations: 29.38 kB / 357.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.2746, allocations: 40.12 kB / 357.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.276, allocations: 0.5842 MB / 358.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.276, allocations: 0 / 358.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.2761, allocations: 19.98 kB / 358.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2761, allocations: 8 kB / 358.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.2779, allocations: 0.5776 MB / 358.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.2816, allocations: 1.749 MB / 360.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.2855, allocations: 0.7603 MB / 361.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.2865, allocations: 344.5 kB / 361.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.2865, allocations: 4 kB / 361.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.2877, allocations: 425.4 kB / 362.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.935e-06/0.2877, allocations: 0 / 362.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.009824/0.2975, allocations: 1.716 MB / 363.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.2976, allocations: 85.11 kB / 364 MB, free: 15.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.2981, allocations: 373.6 kB / 364.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.2982, allocations: 37.7 kB / 364.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.2983, allocations: 224.8 kB / 364.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2985, allocations: 138.8 kB / 364.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.2987, allocations: 70.06 kB / 364.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2989, allocations: 346.8 kB / 365.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009169/0.2998, allocations: 302.4 kB / 365.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000945/0.3007, allocations: 369.8 kB / 365.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.3024, allocations: 0.5444 MB / 366.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3024, allocations: 0 / 366.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004863/0.3073, allocations: 1.074 MB / 367.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.3073, allocations: 37.7 kB / 367.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3073, allocations: 0 / 367.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.3086, allocations: 404.4 kB / 367.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.3091, allocations: 75.88 kB / 367.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009038/0.3181, allocations: 3.465 MB / 371.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.3188, allocations: 83.75 kB / 371.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.3189, allocations: 19.92 kB / 371.5 MB, free: 8.09 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.0002646/0.3191, allocations: 165.8 kB / 371.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.3192, allocations: 43.72 kB / 371.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.3194, allocations: 64.19 kB / 371.7 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3194, allocations: 4 kB / 371.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3194, allocations: 0 / 371.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3194, allocations: 3.984 kB / 371.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.32, allocations: 421.3 kB / 372.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.32, allocations: 0 / 372.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.3205, allocations: 71.88 kB / 372.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.3216, allocations: 396.6 kB / 372.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.3217, allocations: 8 kB / 372.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008403/0.3301, allocations: 3.462 MB / 376.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3301, allocations: 3.984 kB / 376.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004654/0.3347, allocations: 1.256 MB / 377.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.335, allocations: 95.64 kB / 377.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.011e-05/0.3351, allocations: 11.98 kB / 377.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005397/0.3356, allocations: 59.94 kB / 377.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.3358, allocations: 47.91 kB / 377.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.3358, allocations: 19.92 kB / 377.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003463/0.3361, allocations: 259.2 kB / 377.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3361, allocations: 0 / 377.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006448/0.3368, allocations: 175.8 kB / 378 MB, free: 1.395 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.0001705/0.337, allocations: 119.4 kB / 378.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.3396, allocations: 0.8933 MB / 379 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3396, allocations: 0 / 379 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.3412, allocations: 0.5217 MB / 379.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.3417, allocations: 69.56 kB / 379.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.3449, allocations: 1.16 MB / 380.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3452, allocations: 224.6 kB / 381 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.3454, allocations: 43.2 kB / 381 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3455, allocations: 32.48 kB / 381.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3455, allocations: 4 kB / 381.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Templates: time 0.02246/0.368, allocations: 12.57 MB / 393.6 MB, free: 1.621 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins1/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.587436576955952]