Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007951, allocations: 88.64 kB / 21.44 MB, free: 3.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008037/0.0008037, allocations: 145.7 kB / 24.68 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8217/0.8217, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.29e-05, allocations: 2.281 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002618/0.00264, allocations: 2.707 MB / 322.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.00345, allocations: 0.7206 MB / 323.1 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.003558, allocations: 4 kB / 323.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.003684, allocations: 51.5 kB / 323.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.003808, allocations: 106.9 kB / 323.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.004042, allocations: 111.8 kB / 323.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.004318, allocations: 422.1 kB / 323.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.004474, allocations: 83.67 kB / 323.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.004673, allocations: 227.5 kB / 324.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.004811, allocations: 127.6 kB / 324.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.004855, allocations: 36 kB / 324.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.004885, allocations: 36 kB / 324.3 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.004931, allocations: 75.73 kB / 324.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.005013, allocations: 123.7 kB / 324.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.00533, allocations: 450.7 kB / 324.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005332, allocations: 4 kB / 324.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005333, allocations: 0 / 324.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005338, allocations: 0 / 324.9 MB, free: 0.5586 MB / 282.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.000676/0.006014, allocations: 0.5451 MB / 325.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.006049, allocations: 12.92 kB / 325.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.006105, allocations: 36.75 kB / 325.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.006372, allocations: 233 kB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.00639, allocations: 16.88 kB / 325.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.006424, allocations: 28.33 kB / 325.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.006771, allocations: 339.5 kB / 326.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006781, allocations: 4.188 kB / 326.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.006801, allocations: 8.375 kB / 326.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.006809, allocations: 11.94 kB / 326.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.007058, allocations: 201.9 kB / 326.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009857/0.008044, allocations: 0.9819 MB / 327.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.008375, allocations: 202.6 kB / 327.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.008562, allocations: 128.7 kB / 327.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.008579, allocations: 3.984 kB / 327.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.008813, allocations: 225.1 kB / 327.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.943e-06/0.008815, allocations: 0 / 327.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007951/0.00961, allocations: 434 kB / 328.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.009667, allocations: 148.4 kB / 328.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.009819, allocations: 225.7 kB / 328.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.009838, allocations: 29.7 kB / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.009919, allocations: 176.7 kB / 328.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.00996, allocations: 75.38 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.01002, allocations: 49.7 kB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.0101, allocations: 330.8 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.0102, allocations: 71.97 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.01032, allocations: 180.5 kB / 329.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.0105, allocations: 168 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0105, allocations: 7.969 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002976/0.0108, allocations: 282.2 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01081, allocations: 4 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01082, allocations: 0 / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.01105, allocations: 104.6 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.01113, allocations: 23.98 kB / 330.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.01253, allocations: 1.989 MB / 332.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01263, allocations: 31.84 kB / 332.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01265, allocations: 12.05 kB / 332.2 MB, free: 8.895 MB / 298.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.0001085/0.01276, allocations: 153.8 kB / 332.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.01278, allocations: 27.86 kB / 332.4 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.01281, allocations: 30.27 kB / 332.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01281, allocations: 4 kB / 332.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01281, allocations: 0 / 332.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01282, allocations: 3.938 kB / 332.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.01337, allocations: 0.6584 MB / 333.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01338, allocations: 0 / 333.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.01344, allocations: 32 kB / 333.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001602/0.0136, allocations: 84.75 kB / 333.2 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01361, allocations: 7.984 kB / 333.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.01491, allocations: 1.989 MB / 335.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01491, allocations: 112 / 335.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.01531, allocations: 449.5 kB / 335.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.01537, allocations: 43.8 kB / 335.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01539, allocations: 8 kB / 335.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.01549, allocations: 15.98 kB / 335.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.01557, allocations: 36.06 kB / 335.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.01558, allocations: 15.94 kB / 335.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.992e-05/0.01568, allocations: 165.2 kB / 335.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01568, allocations: 0 / 335.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.01598, allocations: 91.84 kB / 336 MB, free: 4.93 MB / 298.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 0.0001105/0.01609, allocations: 107.3 kB / 336.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.01655, allocations: 350.3 kB / 336.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01655, allocations: 0 / 336.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.01677, allocations: 257.5 kB / 336.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01705, allocations: 60.88 kB / 336.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.01781, allocations: 0.5684 MB / 337.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.01791, allocations: 158.7 kB / 337.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.01795, allocations: 24.5 kB / 337.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01795, allocations: 0 / 337.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of Templates: time 0.004326/0.02228, allocations: 4.672 MB / 342.1 MB, free: 14.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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: 4.212672688066959]