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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 182.6 kB / 18.04 MB, free: 3.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 224.2 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007462/0.0007459, allocations: 77.06 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2279, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3296, allocations: 78.38 MB / 455.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.3299, allocations: 67.97 kB / 455.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0136/0.3435, allocations: 4.974 MB / 460.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.129e-06/0.3435, allocations: 0 / 460.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.368e-05/0.3436, allocations: 4 kB / 460.5 MB, free: 13.1 MB / 346.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.001412/0.345, allocations: 0.5671 MB / 461 MB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3451, allocations: 8.031 kB / 461 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3452, allocations: 40.55 kB / 461.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.3457, allocations: 287.5 kB / 461.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.3457, allocations: 20.94 kB / 461.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.3458, allocations: 24.38 kB / 461.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.3464, allocations: 289.1 kB / 461.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3464, allocations: 4.125 kB / 461.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.3464, allocations: 11.94 kB / 461.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3465, allocations: 8 kB / 461.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.3469, allocations: 206.2 kB / 461.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.3488, allocations: 1.153 MB / 463.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.3494, allocations: 222.8 kB / 463.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.3497, allocations: 148.8 kB / 463.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3497, allocations: 0 / 463.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003587/0.3501, allocations: 166.9 kB / 463.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.3501, allocations: 0 / 463.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001717/0.3519, allocations: 0.5497 MB / 464.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.352, allocations: 136.5 kB / 464.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.3523, allocations: 244.9 kB / 464.5 MB, free: 8.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.3524, allocations: 25.7 kB / 464.5 MB, free: 8.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3525, allocations: 176.4 kB / 464.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.3526, allocations: 67 kB / 464.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.3527, allocations: 4 kB / 464.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3528, allocations: 338.7 kB / 465.1 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.353, allocations: 72.47 kB / 465.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.3532, allocations: 133.1 kB / 465.3 MB, free: 7.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3536, allocations: 177.7 kB / 465.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3536, allocations: 0 / 465.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005268/0.3541, allocations: 290.1 kB / 465.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.3541, allocations: 8 kB / 465.8 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3542, allocations: 3.938 kB / 465.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.3545, allocations: 96.83 kB / 465.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3547, allocations: 27.92 kB / 465.9 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.3571, allocations: 1.987 MB / 467.9 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.3574, allocations: 35.77 kB / 467.9 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3574, allocations: 8 kB / 467.9 MB, free: 5.152 MB / 346.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,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 (18): * Single equations (assignments): 17 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.3576, allocations: 149.8 kB / 468.1 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.3577, allocations: 27.7 kB / 468.1 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.3577, allocations: 26.19 kB / 468.1 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3577, allocations: 8.062 kB / 468.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3577, allocations: 0 / 468.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3578, allocations: 7.922 kB / 468.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3589, allocations: 0.7999 MB / 468.9 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3589, allocations: 7.938 kB / 468.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.359, allocations: 24.02 kB / 469 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.3593, allocations: 84.8 kB / 469 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.3594, allocations: 7.938 kB / 469.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.3615, allocations: 1.944 MB / 471 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3616, allocations: 0 / 471 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.3623, allocations: 465.6 kB / 471.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3624, allocations: 121 kB / 471.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.3625, allocations: 15.97 kB / 471.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.3627, allocations: 19.98 kB / 471.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3628, allocations: 35.89 kB / 471.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3628, allocations: 7.984 kB / 471.6 MB, free: 1.168 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.363, allocations: 172.5 kB / 471.8 MB, free: 1 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.363, allocations: 0 / 471.8 MB, free: 1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004919/0.3635, allocations: 103.8 kB / 471.9 MB, free: 0.8984 MB / 346.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.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.000157/0.3637, allocations: 103.3 kB / 472 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000737/0.3644, allocations: 366.3 kB / 472.4 MB, free: 428 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3644, allocations: 0 / 472.4 MB, free: 428 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.3648, allocations: 262.5 kB / 472.6 MB, free: 152 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.3653, allocations: 56.97 kB / 472.7 MB, free: 96 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3666, allocations: 0.724 MB / 473.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.3669, allocations: 0.7599 MB / 474.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.3671, allocations: 26.28 kB / 474.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.3671, allocations: 15.44 kB / 474.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3671, allocations: 0 / 474.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Templates: time 0.009277/0.3764, allocations: 4.336 MB / 478.5 MB, free: 10.2 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches