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.00168/0.00168, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002794/0.002794, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4119, allocations: 50.55 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005247/0.4172, allocations: 3.996 MB / 413.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.42, allocations: 1.605 MB / 414.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.4203, allocations: 11.94 kB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.4211, allocations: 246.8 kB / 415.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.4217, allocations: 302.1 kB / 415.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.4224, allocations: 266.8 kB / 415.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007248/0.4231, allocations: 0.7242 MB / 416.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.4234, allocations: 168.9 kB / 416.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.4238, allocations: 294.9 kB / 416.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.4242, allocations: 294.8 kB / 417.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.4243, allocations: 52 kB / 417.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.4245, allocations: 103.9 kB / 417.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.4247, allocations: 147.5 kB / 417.4 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.425, allocations: 298.5 kB / 417.7 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007696/0.4258, allocations: 0.7311 MB / 418.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4258, allocations: 0 / 418.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4258, allocations: 0 / 418.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4258, allocations: 0 / 418.5 MB, free: 8.359 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001614/0.4274, allocations: 0.9641 MB / 419.4 MB, free: 7.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4275, allocations: 12.03 kB / 419.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.4277, allocations: 76.5 kB / 419.5 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.4283, allocations: 427.1 kB / 419.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.4283, allocations: 33.38 kB / 420 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.4284, allocations: 48.12 kB / 420 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.4291, allocations: 433.6 kB / 420.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4291, allocations: 7.875 kB / 420.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.4292, allocations: 20 kB / 420.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.4292, allocations: 12 kB / 420.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.4298, allocations: 315.8 kB / 420.8 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.432, allocations: 1.695 MB / 422.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.4326, allocations: 363 kB / 422.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.433, allocations: 188.8 kB / 423 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.433, allocations: 4 kB / 423 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/0.4335, allocations: 262.3 kB / 423.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.4335, allocations: 0 / 423.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002094/0.4356, allocations: 1.026 MB / 424.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4357, allocations: 187.9 kB / 424.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.4363, allocations: 0.5096 MB / 425 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.4363, allocations: 33.7 kB / 425 MB, free: 1.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.4365, allocations: 260.8 kB / 425.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.4366, allocations: 130.9 kB / 425.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.4368, allocations: 74.14 kB / 425.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4369, allocations: 358.8 kB / 425.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.4372, allocations: 124.8 kB / 425.9 MB, free: 448 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.4375, allocations: 217.2 kB / 426.2 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.438, allocations: 273.1 kB / 426.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.438, allocations: 0 / 426.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007829/0.4388, allocations: 481.2 kB / 426.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4388, allocations: 4 kB / 426.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4389, allocations: 4 kB / 426.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/0.4394, allocations: 155.3 kB / 427.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.4396, allocations: 47.91 kB / 427.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/0.4447, allocations: 6.66 MB / 433.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.4451, allocations: 55.78 kB / 433.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.4451, allocations: 12 kB / 433.8 MB, free: 7.93 MB / 350.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.0002859/0.4454, allocations: 188 kB / 434 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.4455, allocations: 63.56 kB / 434.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.4456, allocations: 60.86 kB / 434.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4457, allocations: 8.109 kB / 434.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4457, allocations: 4 kB / 434.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4457, allocations: 4 kB / 434.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.4462, allocations: 497.2 kB / 434.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4462, allocations: 0 / 434.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.4464, allocations: 27.92 kB / 434.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.4468, allocations: 167.3 kB / 434.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.4468, allocations: 8 kB / 434.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004754/0.4516, allocations: 6.363 MB / 441.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4516, allocations: 3.984 kB / 441.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.4525, allocations: 0.5037 MB / 441.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.4527, allocations: 160.6 kB / 441.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.4527, allocations: 8 kB / 441.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.453, allocations: 27.97 kB / 441.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4532, allocations: 55.92 kB / 441.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4532, allocations: 12.19 kB / 442 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004444/0.4537, allocations: 379 kB / 442.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4537, allocations: 3.938 kB / 442.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007461/0.4544, allocations: 167.8 kB / 442.5 MB, free: 14.58 MB / 366.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.001102/0.4555, allocations: 424.3 kB / 442.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.4567, allocations: 0.8077 MB / 443.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4567, allocations: 4 kB / 443.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.4574, allocations: 0.6587 MB / 444.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.458, allocations: 129 kB / 444.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.4598, allocations: 0.9789 MB / 445.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.4603, allocations: 0.8633 MB / 446.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.4604, allocations: 48.17 kB / 446.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.4605, allocations: 43.42 kB / 446.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4605, allocations: 0 / 446.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01689/0.4774, allocations: 9.657 MB / 456.1 MB, free: 1.051 MB / 366.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