Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001449/0.001449, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001263/0.001263, allocations: 164.2 kB / 25.33 MB, free: 9.055 MB / 18.57 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 0.9364/0.9364, allocations: 158.6 MB / 187.2 MB, free: 2.902 MB / 170.7 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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 251 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.737e-05, allocations: 5.406 kB / 251 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003303/0.00333, allocations: 2.898 MB / 253.9 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.004698, allocations: 0.7565 MB / 254.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.004897, allocations: 4 kB / 254.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.005071, allocations: 59.44 kB / 254.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.005249, allocations: 103 kB / 254.9 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.005653, allocations: 115.7 kB / 255 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.006033, allocations: 422 kB / 255.4 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.006226, allocations: 83.67 kB / 255.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.006539, allocations: 239.5 kB / 255.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.006751, allocations: 123.6 kB / 255.8 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.006806, allocations: 40 kB / 255.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.006849, allocations: 36 kB / 255.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.006901, allocations: 75.73 kB / 256 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.007014, allocations: 119.8 kB / 256.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.007314, allocations: 275 kB / 256.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.007317, allocations: 0 / 256.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007318, allocations: 0 / 256.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.007323, allocations: 0 / 256.3 MB, free: 14.27 MB / 250.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.0007959/0.008119, allocations: 0.6449 MB / 257 MB, free: 13.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.00817, allocations: 11.98 kB / 257 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.964e-05/0.008269, allocations: 60.7 kB / 257.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.008567, allocations: 224 kB / 257.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.008591, allocations: 20.88 kB / 257.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.008635, allocations: 28.36 kB / 257.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.009012, allocations: 288.8 kB / 257.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.009027, allocations: 4.125 kB / 257.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.00905, allocations: 8.375 kB / 257.6 MB, free: 12.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.009064, allocations: 11.94 kB / 257.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.009246, allocations: 98.92 kB / 257.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.01042, allocations: 1.1 MB / 258.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.01077, allocations: 163.1 kB / 259 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.01095, allocations: 103.5 kB / 259.1 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.01096, allocations: 7.938 kB / 259.1 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.01116, allocations: 199.2 kB / 259.3 MB, free: 11.1 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.01116, allocations: 0 / 259.3 MB, free: 11.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008144/0.01198, allocations: 360.8 kB / 259.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.01205, allocations: 144.4 kB / 259.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.01223, allocations: 268.3 kB / 260.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.01225, allocations: 25.7 kB / 260.1 MB, free: 10.26 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.01237, allocations: 227.3 kB / 260.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.01242, allocations: 67.42 kB / 260.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.01249, allocations: 59.31 kB / 260.4 MB, free: 9.898 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.01262, allocations: 0.504 MB / 260.9 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.01269, allocations: 31.98 kB / 261 MB, free: 9.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.0128, allocations: 153.5 kB / 261.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.01296, allocations: 126.6 kB / 261.2 MB, free: 9.023 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.01296, allocations: 4 kB / 261.2 MB, free: 9.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002637/0.01322, allocations: 209.1 kB / 261.4 MB, free: 8.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.01324, allocations: 10.64 kB / 261.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01325, allocations: 0 / 261.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.0135, allocations: 79.45 kB / 261.5 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.01358, allocations: 32.08 kB / 261.6 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.01516, allocations: 2.345 MB / 263.9 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.01526, allocations: 39.83 kB / 263.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.01528, allocations: 8 kB / 263.9 MB, free: 6.176 MB / 250.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.0001036/0.01538, allocations: 168.6 kB / 264.1 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.01541, allocations: 27.86 kB / 264.1 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.01545, allocations: 30.27 kB / 264.2 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01545, allocations: 4 kB / 264.2 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01545, allocations: 0 / 264.2 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.01546, allocations: 7.938 kB / 264.2 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.01601, allocations: 0.6718 MB / 264.9 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01601, allocations: 4.031 kB / 264.9 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.01608, allocations: 27.92 kB / 264.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.01624, allocations: 71.67 kB / 265 MB, free: 5.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.01625, allocations: 4 kB / 265 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.0177, allocations: 2.368 MB / 267.3 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0177, allocations: 0 / 267.3 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.01805, allocations: 388.6 kB / 267.7 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.01811, allocations: 51.77 kB / 267.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01814, allocations: 8 kB / 267.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.01823, allocations: 16.09 kB / 267.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.01832, allocations: 43.88 kB / 267.8 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01834, allocations: 11.92 kB / 267.8 MB, free: 2.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.01845, allocations: 193.1 kB / 268 MB, free: 1.879 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01845, allocations: 4 kB / 268 MB, free: 1.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.01874, allocations: 91.84 kB / 268.1 MB, free: 1.785 MB / 250.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.0001095/0.01885, allocations: 99.25 kB / 268.2 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.01932, allocations: 348 kB / 268.6 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01932, allocations: 0 / 268.6 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.01955, allocations: 301.4 kB / 268.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01983, allocations: 52.92 kB / 268.9 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.02083, allocations: 0.5534 MB / 269.5 MB, free: 376 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.317e-05/0.0209, allocations: 96.23 kB / 269.5 MB, free: 260 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.492e-05/0.02096, allocations: 18.3 kB / 269.6 MB, free: 244 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.02101, allocations: 20.5 kB / 269.6 MB, free: 224 kB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02101, allocations: 0 / 269.6 MB, free: 224 kB / 250.7 MB Notification: Performance of Templates: time 0.007284/0.02829, allocations: 4.852 MB / 274.4 MB, free: 11.4 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.781077431049198]