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.00198/0.00198, allocations: 123.5 kB / 18.41 MB, free: 4.672 MB / 14.72 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.002167/0.002167, allocations: 192.3 kB / 21.35 MB, free: 1.738 MB / 14.72 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 1.452/1.452, allocations: 222.9 MB / 247 MB, free: 4.09 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001489/0.001489, allocations: 51.92 kB / 358.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.0909, allocations: 49.44 MB / 408.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004379/0.09531, allocations: 2.929 MB / 411 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.09678, allocations: 0.7207 MB / 411.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.09695, allocations: 4 kB / 411.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.09712, allocations: 47.5 kB / 411.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.09736, allocations: 103.1 kB / 411.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.09767, allocations: 99.81 kB / 412 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.09813, allocations: 406.3 kB / 412.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.0984, allocations: 135.1 kB / 412.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.09863, allocations: 155.4 kB / 412.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.09887, allocations: 163.3 kB / 412.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.09894, allocations: 40 kB / 412.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.189e-05/0.09901, allocations: 36 kB / 412.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.09911, allocations: 79.69 kB / 413 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.0993, allocations: 175.2 kB / 413.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.09979, allocations: 430.4 kB / 413.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.09981, allocations: 0 / 413.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.09982, allocations: 0 / 413.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.09983, allocations: 0 / 413.6 MB, free: 1.238 MB / 334.1 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.001103/0.1009, allocations: 0.6359 MB / 414.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.101, allocations: 11.97 kB / 414.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.1011, allocations: 32.75 kB / 414.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.1015, allocations: 283.8 kB / 414.5 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1015, allocations: 24.94 kB / 414.6 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.1016, allocations: 24.38 kB / 414.6 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.1022, allocations: 292.8 kB / 414.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1022, allocations: 0 / 414.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.1022, allocations: 12 kB / 414.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1022, allocations: 4 kB / 414.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.1027, allocations: 206.1 kB / 415.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.1045, allocations: 1.145 MB / 416.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.1051, allocations: 222.5 kB / 416.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.1055, allocations: 140.8 kB / 416.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1055, allocations: 11.94 kB / 416.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.1058, allocations: 172 kB / 416.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.003e-06/0.1058, allocations: 0 / 416.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001531/0.1074, allocations: 0.5123 MB / 417.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.1075, allocations: 136.5 kB / 417.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.1078, allocations: 245 kB / 417.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1078, allocations: 29.7 kB / 417.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1079, allocations: 176.7 kB / 417.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.108, allocations: 71.38 kB / 417.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.1081, allocations: 45.7 kB / 418 MB, free: 12.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1083, allocations: 334.8 kB / 418.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1085, allocations: 75.97 kB / 418.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1087, allocations: 125.1 kB / 418.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.109, allocations: 176.6 kB / 418.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.109, allocations: 0 / 418.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005402/0.1096, allocations: 294.3 kB / 419 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1096, allocations: 4 kB / 419 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1096, allocations: 0 / 419 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.11, allocations: 100.7 kB / 419.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1101, allocations: 27.92 kB / 419.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.1127, allocations: 2.146 MB / 421.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1129, allocations: 27.88 kB / 421.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.113, allocations: 11.94 kB / 421.3 MB, free: 9.062 MB / 350.1 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.0001815/0.1132, allocations: 146.5 kB / 421.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.1132, allocations: 31.78 kB / 421.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.1133, allocations: 30.17 kB / 421.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1133, allocations: 8.062 kB / 421.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1133, allocations: 0 / 421.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1133, allocations: 0 / 421.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1144, allocations: 0.7697 MB / 422.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1144, allocations: 0 / 422.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1145, allocations: 23.92 kB / 422.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.1148, allocations: 92.89 kB / 422.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.1148, allocations: 7.984 kB / 422.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.1173, allocations: 2.147 MB / 424.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1173, allocations: 0 / 424.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.118, allocations: 455.4 kB / 425 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1182, allocations: 128.8 kB / 425.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.1182, allocations: 8 kB / 425.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1184, allocations: 15.97 kB / 425.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1185, allocations: 36.06 kB / 425.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1186, allocations: 12 kB / 425.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1187, allocations: 180.4 kB / 425.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1188, allocations: 0 / 425.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.1192, allocations: 91.89 kB / 425.4 MB, free: 4.656 MB / 350.1 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.0001392/0.1194, allocations: 107.2 kB / 425.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007111/0.1201, allocations: 361 kB / 425.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1201, allocations: 0 / 425.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.1205, allocations: 262.5 kB / 426.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.121, allocations: 68.61 kB / 426.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1221, allocations: 0.6221 MB / 426.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.1226, allocations: 0.7635 MB / 427.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.1226, allocations: 19.44 kB / 427.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1226, allocations: 0 / 427.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Templates: time 0.1634/0.286, allocations: 4.671 MB / 432.3 MB, free: 21.65 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.505176580976695]