Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.001156/0.001156, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001355/0.001355, allocations: 168.6 kB / 25 MB, free: 8.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.537e-05, allocations: 6.312 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004681/0.004706, allocations: 2.948 MB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.006556, allocations: 0.7789 MB / 276.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.006809, allocations: 4 kB / 276.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.007003, allocations: 55.44 kB / 276.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.007226, allocations: 103.1 kB / 277 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.007662, allocations: 115.7 kB / 277.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.008036, allocations: 430 kB / 277.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.008245, allocations: 91.59 kB / 277.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.008578, allocations: 231.5 kB / 277.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.008767, allocations: 131.6 kB / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.021e-05/0.008817, allocations: 36 kB / 278 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.265e-05/0.00889, allocations: 40 kB / 278 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.008941, allocations: 79.73 kB / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.009045, allocations: 127.7 kB / 278.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.009368, allocations: 271.1 kB / 278.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.009373, allocations: 0 / 278.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009375, allocations: 4 kB / 278.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.009381, allocations: 0 / 278.5 MB, free: 12.38 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007681/0.01015, allocations: 0.641 MB / 279.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.01019, allocations: 12.02 kB / 279.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.01037, allocations: 64.7 kB / 279.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.01067, allocations: 240.8 kB / 279.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.01069, allocations: 20.88 kB / 279.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.01073, allocations: 24.38 kB / 279.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.01109, allocations: 288.8 kB / 279.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01111, allocations: 8.109 kB / 279.8 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.01113, allocations: 8.375 kB / 279.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.01114, allocations: 11.94 kB / 279.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.01133, allocations: 102.9 kB / 279.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.01251, allocations: 1.092 MB / 281 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.01288, allocations: 175.1 kB / 281.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.01306, allocations: 91.58 kB / 281.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.01308, allocations: 4 kB / 281.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.0133, allocations: 202.3 kB / 281.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.0133, allocations: 0 / 281.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007993/0.0141, allocations: 360.8 kB / 281.8 MB, free: 8.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.01416, allocations: 140.4 kB / 281.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.01435, allocations: 276.2 kB / 282.2 MB, free: 8.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.01437, allocations: 33.7 kB / 282.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.01448, allocations: 215.4 kB / 282.4 MB, free: 8.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.01453, allocations: 75.38 kB / 282.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.0146, allocations: 55.36 kB / 282.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01473, allocations: 0.4962 MB / 283.1 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.0148, allocations: 40 kB / 283.1 MB, free: 7.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01492, allocations: 153.5 kB / 283.3 MB, free: 7.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.01508, allocations: 125.3 kB / 283.4 MB, free: 7.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01508, allocations: 4 kB / 283.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002744/0.01536, allocations: 209.7 kB / 283.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01537, allocations: 4 kB / 283.6 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01538, allocations: 4 kB / 283.6 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.01563, allocations: 83.5 kB / 283.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.01572, allocations: 27.98 kB / 283.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.01725, allocations: 2.36 MB / 286.1 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.01735, allocations: 35.77 kB / 286.1 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01736, allocations: 12 kB / 286.1 MB, free: 4.258 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.01747, allocations: 164.6 kB / 286.3 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.0175, allocations: 31.86 kB / 286.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.01754, allocations: 34.27 kB / 286.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01754, allocations: 0 / 286.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.01754, allocations: 4.031 kB / 286.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01755, allocations: 7.938 kB / 286.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.01809, allocations: 0.6758 MB / 287 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01809, allocations: 0 / 287 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.01816, allocations: 23.92 kB / 287 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.01832, allocations: 67.62 kB / 287.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01833, allocations: 0 / 287.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.01966, allocations: 2.384 MB / 289.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01966, allocations: 112 / 289.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.01999, allocations: 394.8 kB / 289.9 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.02005, allocations: 47.77 kB / 289.9 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.02007, allocations: 8 kB / 289.9 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.02016, allocations: 19.98 kB / 290 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.02024, allocations: 35.94 kB / 290 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.02025, allocations: 7.938 kB / 290 MB, free: 160 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.02036, allocations: 197.1 kB / 290.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02036, allocations: 0 / 290.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.02065, allocations: 91.84 kB / 290.3 MB, free: 15.88 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 9.971e-05/0.02075, allocations: 107.2 kB / 290.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.02116, allocations: 356.6 kB / 290.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02116, allocations: 0 / 290.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.02137, allocations: 289.2 kB / 291 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.02164, allocations: 56.7 kB / 291.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009631/0.0226, allocations: 0.5556 MB / 291.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.624e-05/0.02266, allocations: 96.3 kB / 291.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.02272, allocations: 18.3 kB / 291.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.02276, allocations: 24.5 kB / 291.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02276, allocations: 0 / 291.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of Templates: time 0.006311/0.02907, allocations: 4.625 MB / 296.4 MB, free: 9.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.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.02831997605972]