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.002171/0.002172, allocations: 105.8 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002528/0.002528, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.842/1.842, allocations: 227.4 MB / 246.3 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 71.75 kB / 306.3 MB, free: 1 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1381, allocations: 50.54 MB / 356.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.007283/0.1455, allocations: 4.025 MB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.1494, allocations: 1.605 MB / 362.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006786/0.1501, allocations: 7.938 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1511, allocations: 227.1 kB / 362.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009229/0.1521, allocations: 262.6 kB / 363 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.1529, allocations: 235.6 kB / 363.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000826/0.1538, allocations: 0.7045 MB / 363.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.1541, allocations: 153.7 kB / 364.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.1545, allocations: 259 kB / 364.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.1548, allocations: 290.7 kB / 364.6 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.1549, allocations: 28 kB / 364.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.1552, allocations: 87.97 kB / 364.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.1553, allocations: 127.4 kB / 364.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.1556, allocations: 278.5 kB / 365.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.1564, allocations: 0.6772 MB / 365.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1564, allocations: 0 / 365.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1564, allocations: 0 / 365.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1564, allocations: 0 / 365.8 MB, free: 5.492 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.001835/0.1583, allocations: 0.9517 MB / 366.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1583, allocations: 8.031 kB / 366.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.1586, allocations: 80.09 kB / 366.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.1591, allocations: 410.8 kB / 367.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.1592, allocations: 29.38 kB / 367.2 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.1592, allocations: 40.12 kB / 367.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000793/0.16, allocations: 445.5 kB / 367.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1601, allocations: 4 kB / 367.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.1601, allocations: 19.98 kB / 367.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1601, allocations: 8 kB / 367.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/0.1608, allocations: 311.8 kB / 368.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.1634, allocations: 1.714 MB / 369.8 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.1641, allocations: 371.9 kB / 370.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.1645, allocations: 184.8 kB / 370.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.1645, allocations: 8 kB / 370.3 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.165, allocations: 254.5 kB / 370.6 MB, free: 460 kB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.254e-06/0.165, allocations: 3.938 kB / 370.6 MB, free: 456 kB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.277/0.442, allocations: 1.007 MB / 371.6 MB, free: 20.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.4422, allocations: 193.2 kB / 371.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/0.4431, allocations: 0.5062 MB / 372.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.4432, allocations: 36.05 kB / 372.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.4434, allocations: 254.9 kB / 372.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4435, allocations: 125.9 kB / 372.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.4437, allocations: 78.41 kB / 372.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4439, allocations: 362.5 kB / 373.1 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.4442, allocations: 119.1 kB / 373.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.4446, allocations: 219.2 kB / 373.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.4452, allocations: 267.8 kB / 373.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4452, allocations: 0.875 kB / 373.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001031/0.4463, allocations: 483.5 kB / 374.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4463, allocations: 5.844 kB / 374.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4463, allocations: 1.188 kB / 374.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/0.447, allocations: 163.1 kB / 374.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.4472, allocations: 44.94 kB / 374.4 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.4518, allocations: 5.949 MB / 380.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.4523, allocations: 55.8 kB / 380.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.4523, allocations: 9.672 kB / 380.4 MB, free: 12.95 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.0003499/0.4527, allocations: 194 kB / 380.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.4528, allocations: 53.86 kB / 380.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.4529, allocations: 66.09 kB / 380.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4529, allocations: 8.062 kB / 380.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.453, allocations: 2.422 kB / 380.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.453, allocations: 9.906 kB / 380.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.4537, allocations: 497.3 kB / 381.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4537, allocations: 0.7031 kB / 381.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.4538, allocations: 25.55 kB / 381.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.4543, allocations: 154.9 kB / 381.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4544, allocations: 8.281 kB / 381.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/0.4584, allocations: 5.8 MB / 387.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4584, allocations: 4 kB / 387.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.4597, allocations: 0.5056 MB / 387.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.4599, allocations: 158.7 kB / 387.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.46, allocations: 10.94 kB / 387.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.4603, allocations: 33.23 kB / 387.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.4605, allocations: 53.19 kB / 388 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.979e-05/0.4606, allocations: 9.062 kB / 388 MB, free: 6.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006099/0.4612, allocations: 372 kB / 388.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4612, allocations: 0 / 388.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001047/0.4622, allocations: 174 kB / 388.5 MB, free: 6.047 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.001669/0.4639, allocations: 431.9 kB / 388.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.4653, allocations: 0.801 MB / 389.7 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4654, allocations: 1.422 kB / 389.7 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008309/0.4662, allocations: 0.6521 MB / 390.4 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.467, allocations: 107 kB / 390.5 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.4698, allocations: 1.158 MB / 391.6 MB, free: 4.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.4705, allocations: 0.8676 MB / 392.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003443/0.4709, allocations: 48.67 kB / 392.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.471, allocations: 30.84 kB / 392.6 MB, free: 3.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.593e-06/0.471, allocations: 1.344 kB / 392.6 MB, free: 3.27 MB / 302.1 MB Notification: Performance of Templates: time 0.0258/0.4968, allocations: 8.823 MB / 401.4 MB, free: 248 kB / 302.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.1.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