Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009495/0.0009495, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008473/0.0008473, allocations: 111.5 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002086/0.0002085, allocations: 8 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1849, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08779/0.2727, allocations: 80.52 MB / 489.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.2729, allocations: 75.95 kB / 490 MB, free: 9.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01274/0.2857, allocations: 5.233 MB / 495.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2857, allocations: 0 / 495.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.2857, allocations: 4 kB / 495.2 MB, free: 4.734 MB / 362.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.0009079/0.2867, allocations: 0.5786 MB / 495.8 MB, free: 4.105 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2867, allocations: 12.03 kB / 495.8 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.2869, allocations: 43.61 kB / 495.9 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.2872, allocations: 274.4 kB / 496.1 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2872, allocations: 20.52 kB / 496.2 MB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.2873, allocations: 27.98 kB / 496.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.2877, allocations: 288.5 kB / 496.5 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.2878, allocations: 0 / 496.5 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.2878, allocations: 8 kB / 496.5 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2878, allocations: 8 kB / 496.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.2882, allocations: 206.2 kB / 496.7 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.2897, allocations: 1.156 MB / 497.8 MB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.2901, allocations: 219.2 kB / 498.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.2902, allocations: 4.188 kB / 498.1 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.2905, allocations: 170.9 kB / 498.2 MB, free: 1.527 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.2905, allocations: 0 / 498.2 MB, free: 1.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001274/0.2918, allocations: 0.5199 MB / 498.8 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.2918, allocations: 110.8 kB / 498.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.2921, allocations: 212.2 kB / 499.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2921, allocations: 33.92 kB / 499.1 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.2922, allocations: 164.4 kB / 499.3 MB, free: 444 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.2923, allocations: 78.94 kB / 499.3 MB, free: 364 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.2923, allocations: 4 kB / 499.3 MB, free: 360 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2924, allocations: 334.8 kB / 499.7 MB, free: 16 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.2926, allocations: 76.05 kB / 499.7 MB, free: 15.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.2927, allocations: 132.4 kB / 499.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2929, allocations: 85.19 kB / 500 MB, free: 15.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2929, allocations: 0 / 500 MB, free: 15.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004586/0.2934, allocations: 296.7 kB / 0.4885 GB, free: 15.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2934, allocations: 8 kB / 0.4885 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2934, allocations: 0 / 0.4885 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.2937, allocations: 92.8 kB / 0.4886 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.2939, allocations: 31.98 kB / 0.4886 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.2959, allocations: 1.976 MB / 0.4906 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.2961, allocations: 31.83 kB / 0.4906 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2961, allocations: 8.062 kB / 0.4906 GB, free: 13.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.2963, allocations: 153.7 kB / 0.4908 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.2963, allocations: 23.72 kB / 0.4908 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.2964, allocations: 30.19 kB / 0.4908 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2964, allocations: 4 kB / 0.4908 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2964, allocations: 0 / 0.4908 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2964, allocations: 3.984 kB / 0.4908 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.2967, allocations: 357.3 kB / 0.4912 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2967, allocations: 4 kB / 0.4912 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.2969, allocations: 23.98 kB / 0.4912 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.2971, allocations: 88.8 kB / 0.4913 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.2971, allocations: 0 / 0.4913 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.2991, allocations: 1.974 MB / 0.4932 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2991, allocations: 8.094 kB / 0.4932 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.2998, allocations: 420.1 kB / 0.4936 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2999, allocations: 120.8 kB / 0.4937 GB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.2999, allocations: 12.06 kB / 0.4937 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3001, allocations: 19.98 kB / 0.4938 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.3002, allocations: 35.94 kB / 0.4938 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3002, allocations: 4 kB / 0.4938 GB, free: 9.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3004, allocations: 176.5 kB / 0.494 GB, free: 9.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3004, allocations: 0 / 0.494 GB, free: 9.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.3008, allocations: 95.8 kB / 0.4941 GB, free: 9.383 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001344/0.3009, allocations: 115.2 kB / 0.4942 GB, free: 9.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.3015, allocations: 358.4 kB / 0.4945 GB, free: 8.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3015, allocations: 128 / 0.4945 GB, free: 8.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.3019, allocations: 266.6 kB / 0.4948 GB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.3021, allocations: 61.3 kB / 0.4948 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.3031, allocations: 0.7179 MB / 0.4955 GB, free: 7.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3034, allocations: 0.7677 MB / 0.4963 GB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.943e-05/0.3035, allocations: 22.28 kB / 0.4963 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.3036, allocations: 19.44 kB / 0.4963 GB, free: 6.992 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3036, allocations: 4 kB / 0.4963 GB, free: 6.988 MB / 378.7 MB Notification: Performance of Templates: time 0.006983/0.3106, allocations: 4.286 MB / 0.5005 GB, free: 2.754 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches