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.001102/0.001102, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002072/0.003174, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001192/0.001192, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001615/0.002807, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.977/0.977, allocations: 158.6 MB / 171.1 MB, free: 2.566 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1487/1.126, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.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.383e-06/1.383e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.078e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002759/0.00278, allocations: 2.915 MB / 224.8 MB, free: 13.23 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008394/0.003619, allocations: 0.7836 MB / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.003726, allocations: 8 kB / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.003815, allocations: 51.44 kB / 225.6 MB, free: 12.38 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.003943, allocations: 107.1 kB / 225.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.004114, allocations: 99.75 kB / 225.8 MB, free: 12.17 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.004402, allocations: 418.1 kB / 226.2 MB, free: 11.76 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.00456, allocations: 94.23 kB / 226.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.004801, allocations: 268 kB / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.004959, allocations: 127.7 kB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.005001, allocations: 39.94 kB / 226.7 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.622e-05/0.005037, allocations: 44 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.005079, allocations: 55.81 kB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.005174, allocations: 99.81 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.005477, allocations: 243.2 kB / 227.2 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.594e-05/0.005493, allocations: 0 / 227.2 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005493, allocations: 3.938 kB / 227.2 MB, free: 10.8 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.005511, allocations: 0 / 227.2 MB, free: 10.8 MB / 234.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.0007386/0.00625, allocations: 0.5902 MB / 227.7 MB, free: 10.19 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.006282, allocations: 12.03 kB / 227.8 MB, free: 10.18 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.006352, allocations: 40.91 kB / 227.8 MB, free: 10.14 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.006556, allocations: 185.3 kB / 228 MB, free: 9.934 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.006573, allocations: 16.88 kB / 228 MB, free: 9.914 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.006606, allocations: 28.38 kB / 228 MB, free: 9.887 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.006849, allocations: 276.2 kB / 228.3 MB, free: 9.586 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006858, allocations: 4.188 kB / 228.3 MB, free: 9.582 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.006876, allocations: 12.38 kB / 228.3 MB, free: 9.57 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.006884, allocations: 11.88 kB / 228.3 MB, free: 9.559 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.00698, allocations: 75.39 kB / 228.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.007792, allocations: 0.787 MB / 229.2 MB, free: 8.66 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.00804, allocations: 134.5 kB / 229.3 MB, free: 8.52 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.008158, allocations: 76.81 kB / 229.4 MB, free: 8.441 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.008179, allocations: 11.92 kB / 229.4 MB, free: 8.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.00834, allocations: 182.1 kB / 229.6 MB, free: 8.215 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.008341, allocations: 0 / 229.6 MB, free: 8.215 MB / 234.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005668/0.008908, allocations: 298.1 kB / 229.9 MB, free: 7.914 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.008955, allocations: 89.03 kB / 230 MB, free: 7.809 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.009066, allocations: 209 kB / 230.2 MB, free: 7.594 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.009084, allocations: 37.73 kB / 230.2 MB, free: 7.551 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.009152, allocations: 160.4 kB / 230.4 MB, free: 7.391 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.009196, allocations: 71.38 kB / 230.4 MB, free: 7.32 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.009248, allocations: 49.67 kB / 230.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.009331, allocations: 342.7 kB / 230.8 MB, free: 6.922 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.009365, allocations: 23.98 kB / 230.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.00944, allocations: 124.5 kB / 231 MB, free: 6.746 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.443e-05/0.009534, allocations: 99.17 kB / 231 MB, free: 6.637 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009536, allocations: 0 / 231 MB, free: 6.637 MB / 234.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001554/0.009692, allocations: 150.5 kB / 231.2 MB, free: 6.48 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.009704, allocations: 7.938 kB / 231.2 MB, free: 6.473 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.00971, allocations: 4 kB / 231.2 MB, free: 6.469 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.009884, allocations: 68.72 kB / 231.3 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.009991, allocations: 31.98 kB / 231.3 MB, free: 6.367 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.01105, allocations: 1.626 MB / 232.9 MB, free: 4.648 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.01113, allocations: 27.88 kB / 233 MB, free: 4.621 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01114, allocations: 8 kB / 233 MB, free: 4.613 MB / 234.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 7.938e-05/0.01122, allocations: 125.9 kB / 233.1 MB, free: 4.48 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.01125, allocations: 27.91 kB / 233.1 MB, free: 4.453 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.01127, allocations: 30.27 kB / 233.1 MB, free: 4.43 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01128, allocations: 4 kB / 233.2 MB, free: 4.426 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01128, allocations: 0 / 233.2 MB, free: 4.426 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01128, allocations: 0 / 233.2 MB, free: 4.426 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.01165, allocations: 459.7 kB / 233.6 MB, free: 3.945 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.01166, allocations: 0 / 233.6 MB, free: 3.945 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.01174, allocations: 27.92 kB / 233.6 MB, free: 3.918 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.01178, allocations: 23.89 kB / 233.6 MB, free: 3.895 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.0119, allocations: 76.7 kB / 233.7 MB, free: 3.816 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01192, allocations: 12 kB / 233.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009834/0.0129, allocations: 1.606 MB / 235.3 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0129, allocations: 4 kB / 235.3 MB, free: 2.109 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.01312, allocations: 270.6 kB / 235.6 MB, free: 1.824 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.01314, allocations: 7.984 kB / 235.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.01322, allocations: 12 kB / 235.6 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.01328, allocations: 39.88 kB / 235.7 MB, free: 1.766 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01329, allocations: 3.984 kB / 235.7 MB, free: 1.762 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.447e-05/0.01335, allocations: 74.78 kB / 235.7 MB, free: 1.684 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01335, allocations: 4.062 kB / 235.8 MB, free: 1.68 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.01359, allocations: 95.78 kB / 235.8 MB, free: 1.586 MB / 234.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.000104/0.0137, allocations: 84.41 kB / 235.9 MB, free: 1.496 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.01404, allocations: 273.9 kB / 236.2 MB, free: 1.215 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.01405, allocations: 7.984 kB / 236.2 MB, free: 1.207 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.01422, allocations: 231.6 kB / 236.4 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.01445, allocations: 76.81 kB / 236.5 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.01684, allocations: 0.5606 MB / 237.1 MB, free: 304 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.0169, allocations: 92.3 kB / 237.2 MB, free: 192 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.958e-05/0.01698, allocations: 26.28 kB / 237.2 MB, free: 160 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.01709, allocations: 99.34 kB / 237.3 MB, free: 60 kB / 234.7 MB Notification: Performance of SimCode: time 1.133e-06/0.01709, allocations: 0 / 237.3 MB, free: 60 kB / 234.7 MB Notification: Performance of Templates: time 0.006726/0.02382, allocations: 5.113 MB / 242.4 MB, free: 10.97 MB / 250.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 -ignoreHideResult -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.7008411744609475]