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.0009149/0.0009149, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001116/0.001116, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9696/0.9696, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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 1.062e-06/1.062e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.816e-05, allocations: 3.719 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.003784/0.003803, allocations: 4.043 MB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.005458, allocations: 1.056 MB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.005677, allocations: 11.94 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.005873, allocations: 83.2 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.006133, allocations: 198.2 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.006578, allocations: 239.5 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.007177, allocations: 0.8559 MB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.007378, allocations: 109.5 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.007862, allocations: 467 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.008148, allocations: 291.2 kB / 280.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.008229, allocations: 80 kB / 280.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.008336, allocations: 87.98 kB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.291e-05/0.008429, allocations: 171.4 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.0086, allocations: 239.5 kB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.009082, allocations: 0.5451 MB / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.009084, allocations: 0 / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.009085, allocations: 0 / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.009091, allocations: 0 / 281.4 MB, free: 8.945 MB / 266.7 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.002107/0.0112, allocations: 1.027 MB / 282.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.01124, allocations: 11.98 kB / 282.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.01152, allocations: 96.56 kB / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.01208, allocations: 354.5 kB / 282.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.01213, allocations: 29.38 kB / 282.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-05/0.01221, allocations: 36.38 kB / 282.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.013, allocations: 489.3 kB / 283.4 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.01301, allocations: 192 / 283.4 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.01304, allocations: 16.38 kB / 283.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.01306, allocations: 15.88 kB / 283.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.01343, allocations: 205.7 kB / 283.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.01537, allocations: 1.981 MB / 285.6 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.01666, allocations: 452.8 kB / 286 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.01691, allocations: 156.2 kB / 286.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.01695, allocations: 8.328 kB / 286.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.01726, allocations: 259.8 kB / 286.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.233e-06/0.01726, allocations: 0 / 286.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.005006/0.02226, allocations: 1.444 MB / 287.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.02231, allocations: 85.11 kB / 288 MB, free: 2.059 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.0226, allocations: 410.7 kB / 288.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.02263, allocations: 37.7 kB / 288.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.02277, allocations: 283.5 kB / 288.7 MB, free: 1.312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.02285, allocations: 138.8 kB / 288.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.02296, allocations: 79.72 kB / 288.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003848/0.02335, allocations: 0.5235 MB / 289.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.02353, allocations: 106.5 kB / 289.5 MB, free: 452 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.02375, allocations: 186.5 kB / 289.7 MB, free: 244 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.02407, allocations: 223.3 kB / 289.9 MB, free: 4 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.1086/0.1326, allocations: 4.203 kB / 289.9 MB, free: 25.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001679/0.1343, allocations: 0.5231 MB / 290.5 MB, free: 25.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.1343, allocations: 34.44 kB / 290.5 MB, free: 25.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1343, allocations: 0.9375 kB / 290.5 MB, free: 25.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/0.135, allocations: 258.9 kB / 290.7 MB, free: 25.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.1353, allocations: 74.08 kB / 290.8 MB, free: 25.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/0.1393, allocations: 2.895 MB / 293.7 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.1396, allocations: 71.55 kB / 293.8 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.1397, allocations: 14.8 kB / 293.8 MB, free: 23.8 MB / 266.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 (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.000146/0.1398, allocations: 179 kB / 294 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/0.1399, allocations: 63.58 kB / 294 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.752e-05/0.14, allocations: 52.12 kB / 294.1 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.14, allocations: 5.25 kB / 294.1 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.14, allocations: 4 kB / 294.1 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.14, allocations: 2.891 kB / 294.1 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.1404, allocations: 394.1 kB / 294.5 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1404, allocations: 5.031 kB / 294.5 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1406, allocations: 60.69 kB / 294.5 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005801/0.1412, allocations: 262.3 kB / 294.8 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.1413, allocations: 13.33 kB / 294.8 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003761/0.145, allocations: 2.887 MB / 297.7 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.145, allocations: 4.406 kB / 297.7 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.1473, allocations: 0.7095 MB / 298.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.1475, allocations: 108.7 kB / 298.5 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.1475, allocations: 10.61 kB / 298.5 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.1478, allocations: 45.95 kB / 298.6 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.1479, allocations: 55.53 kB / 298.6 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.148, allocations: 13.45 kB / 298.6 MB, free: 21.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.1482, allocations: 282.8 kB / 298.9 MB, free: 21.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1482, allocations: 0 / 298.9 MB, free: 21.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005457/0.1487, allocations: 188.2 kB / 299.1 MB, free: 21.12 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,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.0001106/0.1489, allocations: 104.8 kB / 299.2 MB, free: 21.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.1499, allocations: 0.6218 MB / 299.8 MB, free: 20.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1499, allocations: 4.062 kB / 299.8 MB, free: 20.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.1505, allocations: 437.6 kB / 300.3 MB, free: 20.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1509, allocations: 99.2 kB / 300.4 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.1531, allocations: 1.007 MB / 301.4 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.1532, allocations: 122.9 kB / 301.5 MB, free: 19.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.1534, allocations: 45.23 kB / 301.5 MB, free: 19.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1535, allocations: 34.91 kB / 301.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1535, allocations: 4 kB / 301.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of Templates: time 0.01416/0.1677, allocations: 13.96 MB / 315.5 MB, free: 9.918 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.6895013651810586]