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.001176/0.001176, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.001371, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3855, allocations: 50.55 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.005273/0.3909, allocations: 2.932 MB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3926, allocations: 0.7985 MB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.3928, allocations: 4 kB / 413 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.393, allocations: 55.44 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.3933, allocations: 103.1 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.3937, allocations: 107.8 kB / 413.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.3941, allocations: 414.3 kB / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.3944, allocations: 131.2 kB / 413.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3947, allocations: 163.4 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.395, allocations: 159.3 kB / 414.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.395, allocations: 40 kB / 414.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3951, allocations: 36 kB / 414.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.3952, allocations: 79.7 kB / 414.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3954, allocations: 183.2 kB / 414.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.3959, allocations: 435.8 kB / 414.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3959, allocations: 0 / 414.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3959, allocations: 0 / 414.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.396, allocations: 0 / 414.9 MB, free: 11.98 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.001282/0.3973, allocations: 0.6284 MB / 415.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.3973, allocations: 8.031 kB / 415.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.3976, allocations: 44.55 kB / 415.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.3981, allocations: 288.7 kB / 415.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3981, allocations: 20.94 kB / 415.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.3982, allocations: 28.31 kB / 415.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.3987, allocations: 288.9 kB / 416.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3988, allocations: 3.938 kB / 416.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.3988, allocations: 12 kB / 416.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3988, allocations: 4 kB / 416.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.3993, allocations: 202.2 kB / 416.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.4012, allocations: 1.144 MB / 417.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.4019, allocations: 222.1 kB / 417.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.4022, allocations: 140.8 kB / 417.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.4023, allocations: 4 kB / 417.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.4026, allocations: 174.7 kB / 418 MB, free: 8.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.4026, allocations: 0 / 418 MB, free: 8.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001512/0.4042, allocations: 0.5107 MB / 418.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.4043, allocations: 136.5 kB / 418.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.4046, allocations: 244.9 kB / 418.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.4046, allocations: 29.64 kB / 419 MB, free: 7.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.4048, allocations: 168.5 kB / 419.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.4048, allocations: 74.94 kB / 419.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.4049, allocations: 53.73 kB / 419.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4051, allocations: 326.8 kB / 419.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.4053, allocations: 75.91 kB / 419.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.4055, allocations: 125.1 kB / 419.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.4058, allocations: 175.3 kB / 419.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4058, allocations: 0 / 419.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004835/0.4063, allocations: 294 kB / 420.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.4063, allocations: 4 kB / 420.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.4063, allocations: 4 kB / 420.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.4067, allocations: 92.89 kB / 420.3 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4069, allocations: 27.92 kB / 420.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.4093, allocations: 2.146 MB / 422.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.4095, allocations: 31.92 kB / 422.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.4096, allocations: 12 kB / 422.5 MB, free: 3.809 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.0001602/0.4097, allocations: 149.8 kB / 422.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.4098, allocations: 27.77 kB / 422.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.4098, allocations: 34.11 kB / 422.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4099, allocations: 4 kB / 422.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4099, allocations: 0 / 422.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4099, allocations: 4 kB / 422.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.4108, allocations: 0.7762 MB / 423.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4109, allocations: 0 / 423.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.411, allocations: 19.98 kB / 423.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.4112, allocations: 88.69 kB / 423.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.4113, allocations: 11.98 kB / 423.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.4135, allocations: 2.138 MB / 425.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4135, allocations: 0 / 425.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.4142, allocations: 453.5 kB / 426.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4143, allocations: 124.8 kB / 426.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.4144, allocations: 4 kB / 426.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.4146, allocations: 23.97 kB / 426.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4147, allocations: 35.94 kB / 426.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4147, allocations: 8 kB / 426.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.4149, allocations: 172.5 kB / 426.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4149, allocations: 4.156 kB / 426.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.4154, allocations: 99.78 kB / 426.7 MB, free: 15.41 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.0001925/0.4156, allocations: 107.1 kB / 426.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.4163, allocations: 362.3 kB / 427.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4163, allocations: 4.188 kB / 427.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.4167, allocations: 267.6 kB / 427.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.4172, allocations: 52.56 kB / 427.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4184, allocations: 0.5889 MB / 428 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.4188, allocations: 0.7717 MB / 428.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.332e-05/0.4189, allocations: 22.28 kB / 428.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.4189, allocations: 23.44 kB / 428.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4189, allocations: 0 / 428.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Templates: time 0.00965/0.4286, allocations: 4.903 MB / 433.8 MB, free: 8.293 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches