Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002344/0.002344, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.91 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09667, allocations: 53.32 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005629/0.1023, allocations: 4.12 MB / 432 MB, free: 356 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1044, allocations: 1.063 MB / 433 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.1047, allocations: 11.94 kB / 433 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.105, allocations: 87.12 kB / 433.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.1053, allocations: 190.4 kB / 433.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.1059, allocations: 231.6 kB / 433.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009819/0.1068, allocations: 0.8251 MB / 434.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.1071, allocations: 120.9 kB / 434.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.1076, allocations: 326.9 kB / 434.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.1082, allocations: 362.6 kB / 435.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.1083, allocations: 80 kB / 435.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1085, allocations: 88 kB / 435.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.1086, allocations: 159.5 kB / 435.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.109, allocations: 342.4 kB / 435.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.11, allocations: 0.8602 MB / 436.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.11, allocations: 0 / 436.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.11, allocations: 0 / 436.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.11, allocations: 0 / 436.7 MB, free: 11.62 MB / 366.1 MB 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.002939/0.113, allocations: 1.053 MB / 437.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.113, allocations: 12.03 kB / 437.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.1133, allocations: 68.55 kB / 437.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.114, allocations: 430.2 kB / 438.2 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.114, allocations: 29.38 kB / 438.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.1141, allocations: 40.36 kB / 438.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1157, allocations: 0.6031 MB / 438.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1157, allocations: 3.984 kB / 438.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-05/0.1158, allocations: 23.94 kB / 438.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.1158, allocations: 8 kB / 438.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.1179, allocations: 0.6362 MB / 439.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.1221, allocations: 2.169 MB / 441.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/0.1262, allocations: 0.8276 MB / 442.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.1273, allocations: 380 kB / 442.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.1274, allocations: 4.328 kB / 442.9 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.1286, allocations: 434.6 kB / 443.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.1286, allocations: 0 / 443.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.01523/0.1438, allocations: 2.379 MB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.1439, allocations: 89.09 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.1445, allocations: 417.9 kB / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/0.1446, allocations: 33.7 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1448, allocations: 240.8 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.145, allocations: 138.8 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.1452, allocations: 70.06 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1454, allocations: 362.7 kB / 447.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.1465, allocations: 300.6 kB / 447.4 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.1475, allocations: 334.1 kB / 447.7 MB, free: 272 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.182/0.3295, allocations: 0.5969 MB / 448.3 MB, free: 25.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3295, allocations: 0 / 448.3 MB, free: 25.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003636/0.3331, allocations: 0.9849 MB / 449.3 MB, free: 25.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.3332, allocations: 40.94 kB / 449.3 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3332, allocations: 2.719 kB / 449.3 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.3344, allocations: 428.4 kB / 449.7 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.3349, allocations: 89.92 kB / 449.8 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.3427, allocations: 3.817 MB / 453.6 MB, free: 23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.3434, allocations: 92.45 kB / 453.7 MB, free: 23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.3434, allocations: 16.33 kB / 453.7 MB, free: 22.99 MB / 366.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 (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.0002093/0.3436, allocations: 174 kB / 453.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.3437, allocations: 49.31 kB / 454 MB, free: 22.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.3438, allocations: 59.66 kB / 454 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3438, allocations: 8.453 kB / 454 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3438, allocations: 1.281 kB / 454 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3438, allocations: 3.656 kB / 454 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.3445, allocations: 0.619 MB / 454.6 MB, free: 22.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3445, allocations: 0.6094 kB / 454.6 MB, free: 22.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.345, allocations: 83.52 kB / 454.7 MB, free: 22.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.3462, allocations: 437.1 kB / 455.1 MB, free: 22.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.3462, allocations: 12.31 kB / 455.2 MB, free: 22.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007811/0.354, allocations: 3.81 MB / 459 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.354, allocations: 0 / 459 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005768/0.3598, allocations: 1.488 MB / 460.5 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.3601, allocations: 187.6 kB / 460.6 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.3601, allocations: 11.36 kB / 460.7 MB, free: 19.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.3607, allocations: 76.48 kB / 460.7 MB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3609, allocations: 53.89 kB / 460.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.3609, allocations: 16.2 kB / 460.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.3612, allocations: 293.7 kB / 461.1 MB, free: 19.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3612, allocations: 7.656 kB / 461.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006584/0.3619, allocations: 180.7 kB / 461.3 MB, free: 19.06 MB / 366.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,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.0001433/0.362, allocations: 103.6 kB / 461.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.3648, allocations: 0.9468 MB / 462.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3648, allocations: 1.188 kB / 462.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.3663, allocations: 0.5768 MB / 462.9 MB, free: 18.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.3668, allocations: 86.41 kB / 463 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.37, allocations: 1.29 MB / 464.3 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3704, allocations: 0.8435 MB / 465.1 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3705, allocations: 35.7 kB / 465.1 MB, free: 16.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.3705, allocations: 0 / 465.1 MB, free: 16.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01495/0.3855, allocations: 10.03 MB / 475.2 MB, free: 12.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.439136452041566]