Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001582/0.001582, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 64.06 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1768, allocations: 50.53 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006944/0.1838, allocations: 3.987 MB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.188, allocations: 1.62 MB / 363.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.1888, allocations: 11.94 kB / 363.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1898, allocations: 250.8 kB / 363.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1908, allocations: 294.1 kB / 363.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.1917, allocations: 263.3 kB / 363.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008346/0.1925, allocations: 0.728 MB / 364.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.1929, allocations: 177.1 kB / 364.8 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.1934, allocations: 286.9 kB / 365.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.1937, allocations: 298.8 kB / 365.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.168e-05/0.1939, allocations: 52 kB / 365.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.1941, allocations: 99.95 kB / 365.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1943, allocations: 147.5 kB / 365.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.1946, allocations: 298.5 kB / 365.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.1955, allocations: 0.7085 MB / 366.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1955, allocations: 3.938 kB / 366.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1955, allocations: 3.984 kB / 366.6 MB, free: 4.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1956, allocations: 3.938 kB / 366.7 MB, free: 4.883 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002005/0.1976, allocations: 0.9453 MB / 367.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.1976, allocations: 8.031 kB / 367.6 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.1979, allocations: 80.08 kB / 367.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.1985, allocations: 410.8 kB / 368.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.1986, allocations: 33.38 kB / 368.1 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.1987, allocations: 40.12 kB / 368.2 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.1994, allocations: 437.5 kB / 368.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1995, allocations: 7.984 kB / 368.6 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.1995, allocations: 16 kB / 368.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1995, allocations: 8 kB / 368.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006567/0.2002, allocations: 319.8 kB / 368.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.203, allocations: 1.71 MB / 370.6 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.2038, allocations: 371.9 kB / 371 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.2042, allocations: 184.8 kB / 371.2 MB, free: 128 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.2042, allocations: 4 kB / 371.2 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3036/0.5078, allocations: 251.3 kB / 371.4 MB, free: 20.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 4.178e-06/0.5079, allocations: 0.5 kB / 371.4 MB, free: 20.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00241/0.5103, allocations: 1.019 MB / 372.4 MB, free: 20.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.5104, allocations: 186.1 kB / 372.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/0.5111, allocations: 0.5074 MB / 373.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.5112, allocations: 38 kB / 373.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.5113, allocations: 256.3 kB / 373.4 MB, free: 19.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/0.5114, allocations: 127.7 kB / 373.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.5116, allocations: 75.59 kB / 373.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.5117, allocations: 366 kB / 374 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.512, allocations: 115.9 kB / 374.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.5123, allocations: 223.7 kB / 374.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.5128, allocations: 265.7 kB / 374.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5128, allocations: 1.125 kB / 374.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008889/0.5137, allocations: 477.3 kB / 375 MB, free: 18.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.5137, allocations: 9.359 kB / 375 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5137, allocations: 1.094 kB / 375.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.5143, allocations: 160.7 kB / 375.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.5145, allocations: 48.81 kB / 375.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.5184, allocations: 6.641 MB / 381.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.5189, allocations: 56.31 kB / 382 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.5189, allocations: 14.03 kB / 382 MB, free: 12.18 MB / 302.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: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002931/0.5192, allocations: 188.8 kB / 382.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.5193, allocations: 61.52 kB / 382.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.5194, allocations: 62.08 kB / 382.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5195, allocations: 5.922 kB / 382.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5195, allocations: 1.188 kB / 382.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5195, allocations: 6.297 kB / 382.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.5201, allocations: 494 kB / 382.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5201, allocations: 1.375 kB / 382.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.5202, allocations: 28.53 kB / 382.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.5207, allocations: 157 kB / 382.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.5207, allocations: 15.09 kB / 383 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003713/0.5244, allocations: 6.369 MB / 389.3 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5244, allocations: 0 / 389.3 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.5255, allocations: 0.5025 MB / 389.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.5257, allocations: 161.8 kB / 390 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/0.5257, allocations: 11.38 kB / 390 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.526, allocations: 35.89 kB / 390 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.5262, allocations: 49.91 kB / 390.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.5262, allocations: 12.84 kB / 390.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00046/0.5267, allocations: 368.8 kB / 390.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5267, allocations: 3.844 kB / 390.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008256/0.5275, allocations: 172 kB / 390.6 MB, free: 4.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009748/0.5285, allocations: 432.7 kB / 391.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.5298, allocations: 0.8151 MB / 391.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5298, allocations: 192 / 391.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.5304, allocations: 0.6577 MB / 392.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.531, allocations: 123 kB / 392.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.533, allocations: 0.9808 MB / 393.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.5334, allocations: 0.8602 MB / 394.5 MB, free: 2.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.5337, allocations: 56.53 kB / 394.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.5338, allocations: 32.48 kB / 394.6 MB, free: 2.109 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5338, allocations: 3.938 kB / 394.6 MB, free: 2.105 MB / 302.1 MB Notification: Performance of Templates: time 0.02251/0.5563, allocations: 9.545 MB / 404.1 MB, free: 14.6 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches