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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002274/0.002274, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3112, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004657/0.3159, allocations: 2.937 MB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3174, allocations: 0.7946 MB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3175, allocations: 11.94 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.3177, allocations: 47.52 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3179, allocations: 95.12 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.3183, allocations: 119.7 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.3187, allocations: 406.3 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.319, allocations: 135.2 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.3192, allocations: 163.4 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.3194, allocations: 163.3 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.3195, allocations: 39.94 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-05/0.3196, allocations: 40 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.3197, allocations: 79.75 kB / 414.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.3199, allocations: 175.2 kB / 415.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.3203, allocations: 431.8 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.3203, allocations: 3.938 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3204, allocations: 0 / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3204, allocations: 0 / 415.5 MB, free: 11.91 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.001129/0.3215, allocations: 0.6323 MB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.3216, allocations: 8.031 kB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.3218, allocations: 40.56 kB / 416.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.3222, allocations: 284.8 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.3223, allocations: 24.88 kB / 416.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.3223, allocations: 24.38 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.3228, allocations: 296.8 kB / 416.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3229, allocations: 0 / 416.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.3229, allocations: 12 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3229, allocations: 8 kB / 416.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.3233, allocations: 206.1 kB / 417.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3251, allocations: 1.136 MB / 418.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.3256, allocations: 222.6 kB / 418.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.3259, allocations: 144.8 kB / 418.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3259, allocations: 0 / 418.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/0.3262, allocations: 170.6 kB / 418.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.3263, allocations: 0 / 418.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001397/0.3277, allocations: 0.5177 MB / 419.2 MB, free: 7.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.3277, allocations: 136.5 kB / 419.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.328, allocations: 248.9 kB / 419.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.328, allocations: 25.7 kB / 419.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3282, allocations: 168.5 kB / 419.8 MB, free: 7.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/0.3282, allocations: 74.94 kB / 419.9 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/0.3283, allocations: 49.7 kB / 419.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3285, allocations: 330.8 kB / 420.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3287, allocations: 71.97 kB / 420.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.3289, allocations: 125.1 kB / 420.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.3294, allocations: 175.3 kB / 420.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3294, allocations: 4.031 kB / 420.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005994/0.33, allocations: 294 kB / 420.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.33, allocations: 4 kB / 420.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.33, allocations: 7.938 kB / 420.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003544/0.3304, allocations: 92.73 kB / 421 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3305, allocations: 23.98 kB / 421 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.3328, allocations: 2.146 MB / 423.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.333, allocations: 27.86 kB / 423.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.333, allocations: 8 kB / 423.2 MB, free: 3.746 MB / 334.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.0001652/0.3332, allocations: 154 kB / 423.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.3333, allocations: 31.59 kB / 423.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.3333, allocations: 34.17 kB / 423.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3334, allocations: 0 / 423.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3334, allocations: 0 / 423.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3335, allocations: 124.7 kB / 423.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.3335, allocations: 11.98 kB / 423.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3337, allocations: 11.98 kB / 423.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.3338, allocations: 27.97 kB / 423.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008026/0.3346, allocations: 448.6 kB / 424 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005928/0.3352, allocations: 0.5362 MB / 424.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001475/0.3354, allocations: 79.95 kB / 424.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3355, allocations: 172.5 kB / 424.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of Backend: time 7.31e-07/0.3355, allocations: 4.031 kB / 424.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009714/0.3365, allocations: 376.8 kB / 425.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of SimCode: time 0.001203/0.3377, allocations: 1.08 MB / 426.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of Templates: time 0.009287/0.347, allocations: 4.718 MB / 431 MB, free: 11.91 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches