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.001935/0.001935, allocations: 109.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00251/0.00251, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.85/2.85, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002262, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6297, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.009428/0.6392, allocations: 3.993 MB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005601/0.6449, allocations: 1.609 MB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.646, allocations: 11.94 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.6477, allocations: 250.8 kB / 415.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.6495, allocations: 298.1 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.6509, allocations: 263.3 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.6526, allocations: 0.7202 MB / 417.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000512/0.6531, allocations: 172.7 kB / 417.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.6539, allocations: 290.9 kB / 417.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005905/0.6545, allocations: 298.8 kB / 417.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.6546, allocations: 52 kB / 417.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.6551, allocations: 107.9 kB / 418 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.6553, allocations: 143.5 kB / 418.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.6558, allocations: 302.4 kB / 418.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.6572, allocations: 0.7098 MB / 419.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.6572, allocations: 15.92 kB / 419.1 MB, free: 8.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6572, allocations: 0 / 419.1 MB, free: 8.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.6572, allocations: 4 kB / 419.1 MB, free: 8.34 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.003481/0.6607, allocations: 0.9413 MB / 420.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.928e-05/0.6608, allocations: 12.03 kB / 420.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.6613, allocations: 72.17 kB / 420.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.6626, allocations: 422.6 kB / 420.6 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.6627, allocations: 41.36 kB / 420.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.6628, allocations: 44.12 kB / 420.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.6644, allocations: 437.5 kB / 421.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.6644, allocations: 3.938 kB / 421.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.6645, allocations: 16 kB / 421.1 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.6645, allocations: 16 kB / 421.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.6657, allocations: 315.8 kB / 421.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004837/0.6706, allocations: 1.691 MB / 423.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.672, allocations: 363.1 kB / 423.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006971/0.6727, allocations: 188.8 kB / 423.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.839e-05/0.6728, allocations: 4 kB / 423.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008571/0.6737, allocations: 258.3 kB / 423.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 4.959e-06/0.6738, allocations: 4 kB / 423.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004546/0.6783, allocations: 1.022 MB / 424.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002136/0.6786, allocations: 187.9 kB / 425.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.6801, allocations: 0.5057 MB / 425.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-05/0.6802, allocations: 37.7 kB / 425.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.6807, allocations: 256.4 kB / 425.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.681, allocations: 118.4 kB / 426 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.6813, allocations: 82.03 kB / 426.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003227/0.6816, allocations: 358.8 kB / 426.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.6821, allocations: 120.8 kB / 426.6 MB, free: 476 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.6828, allocations: 221.2 kB / 426.8 MB, free: 220 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6839, allocations: 273.1 kB / 427.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.6839, allocations: 4 kB / 427.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001788/0.6857, allocations: 473 kB / 427.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.6858, allocations: 4 kB / 427.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.6858, allocations: 4 kB / 427.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.6869, allocations: 163.2 kB / 427.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.6873, allocations: 44.06 kB / 427.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.6983, allocations: 6.648 MB / 434.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.6995, allocations: 55.69 kB / 434.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.6996, allocations: 8 kB / 434.4 MB, free: 7.969 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.0009008/0.7005, allocations: 196.1 kB / 434.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.7009, allocations: 67.2 kB / 434.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.7012, allocations: 60.8 kB / 434.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.7012, allocations: 4 kB / 434.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7013, allocations: 0 / 434.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.7013, allocations: 3.984 kB / 434.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.7028, allocations: 0.4894 MB / 435.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7029, allocations: 0 / 435.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.7032, allocations: 31.91 kB / 435.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009552/0.7042, allocations: 163.3 kB / 435.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.7042, allocations: 8 kB / 435.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.7146, allocations: 6.351 MB / 441.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7146, allocations: 0 / 441.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.7168, allocations: 0.5033 MB / 442.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/0.7174, allocations: 164.3 kB / 442.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.7176, allocations: 12 kB / 442.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.7183, allocations: 28.16 kB / 442.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.7186, allocations: 59.92 kB / 442.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.7187, allocations: 16 kB / 442.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.7198, allocations: 363.1 kB / 442.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7198, allocations: 3.938 kB / 442.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001712/0.7215, allocations: 171.7 kB / 443.1 MB, free: 14.62 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.002264/0.7238, allocations: 430.4 kB / 443.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.7264, allocations: 0.8115 MB / 444.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.7264, allocations: 0 / 444.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.728, allocations: 0.6587 MB / 445 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.7294, allocations: 117.8 kB / 445.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.7339, allocations: 1.003 MB / 446.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.7351, allocations: 0.8634 MB / 447 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.7354, allocations: 39.38 kB / 447 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.244e-06/0.7354, allocations: 0 / 447 MB, free: 10.68 MB / 366.1 MB Notification: Performance of Templates: time 0.03436/0.7698, allocations: 15 MB / 462 MB, free: 11.71 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches