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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001473, allocations: 88.59 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 158.6 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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=5052,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=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.295e-05, allocations: 3.344 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006062/0.006095, allocations: 3.658 MB / 328.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.009491, allocations: 1.563 MB / 330.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.009805, allocations: 11.66 kB / 330.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009209/0.01073, allocations: 253.2 kB / 330.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007722/0.0115, allocations: 322.5 kB / 330.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.01225, allocations: 274 kB / 331.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.01322, allocations: 0.7593 MB / 331.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.01348, allocations: 111.4 kB / 332 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.01412, allocations: 413.2 kB / 332.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.01453, allocations: 235.2 kB / 332.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.01463, allocations: 50.12 kB / 332.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.01495, allocations: 115.8 kB / 332.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.01516, allocations: 144.7 kB / 332.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.01545, allocations: 201.3 kB / 333.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.01654, allocations: 0.74 MB / 333.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01654, allocations: 0 / 333.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01654, allocations: 0 / 333.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.01655, allocations: 0 / 333.8 MB, free: 10.79 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.001903/0.01846, allocations: 0.8852 MB / 334.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.0185, allocations: 13.02 kB / 334.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.01875, allocations: 82.86 kB / 334.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.01935, allocations: 361.9 kB / 335.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.01939, allocations: 29.28 kB / 335.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.01945, allocations: 37.69 kB / 335.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/0.02035, allocations: 0.5336 MB / 335.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.02037, allocations: 1.188 kB / 335.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.02041, allocations: 16.81 kB / 335.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.02043, allocations: 14.03 kB / 335.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.02108, allocations: 316.4 kB / 336.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.02361, allocations: 1.493 MB / 337.6 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.02437, allocations: 333.6 kB / 337.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.02472, allocations: 160.2 kB / 338.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.02475, allocations: 3.094 kB / 338.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.02529, allocations: 374.3 kB / 338.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.02529, allocations: 1.031 kB / 338.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00222/0.02751, allocations: 0.7214 MB / 339.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.02761, allocations: 158.2 kB / 339.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.02825, allocations: 0.494 MB / 339.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.02829, allocations: 33.7 kB / 339.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.02851, allocations: 256.7 kB / 340.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.02862, allocations: 123 kB / 340.2 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.02875, allocations: 74.19 kB / 340.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.02893, allocations: 366.8 kB / 340.7 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.02921, allocations: 121 kB / 340.8 MB, free: 4.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.02963, allocations: 341.5 kB / 341.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.03015, allocations: 273.3 kB / 341.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.03016, allocations: 0 / 341.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008884/0.03105, allocations: 481 kB / 341.8 MB, free: 3.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.03107, allocations: 4 kB / 341.8 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.03107, allocations: 4 kB / 341.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.03162, allocations: 159.3 kB / 342 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.03187, allocations: 47.91 kB / 342.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/0.03769, allocations: 6.115 MB / 348.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.03814, allocations: 55.78 kB / 348.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.03818, allocations: 12 kB / 348.2 MB, free: 12.99 MB / 318.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.0003879/0.03857, allocations: 195.7 kB / 348.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.03866, allocations: 55.61 kB / 348.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.03986, allocations: 0.4932 MB / 349 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.03986, allocations: 7.984 kB / 349 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.03987, allocations: 0 / 349 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.03987, allocations: 0 / 349 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.04041, allocations: 364.9 kB / 349.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.04041, allocations: 128 / 349.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.04057, allocations: 31.92 kB / 349.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.04104, allocations: 159.3 kB / 349.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.04107, allocations: 11.94 kB / 349.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/0.04674, allocations: 5.816 MB / 355.4 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.04675, allocations: 7.969 kB / 355.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.04793, allocations: 0.5074 MB / 355.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.04814, allocations: 87.48 kB / 356 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.04823, allocations: 12 kB / 356 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.04854, allocations: 27.97 kB / 356 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.04873, allocations: 55.91 kB / 356 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.04877, allocations: 12 kB / 356.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005183/0.04929, allocations: 355.1 kB / 356.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04929, allocations: 0 / 356.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008758/0.05017, allocations: 171.8 kB / 356.6 MB, free: 4.141 MB / 318.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,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * 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.001826/0.05199, allocations: 466.2 kB / 357 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.05334, allocations: 0.7834 MB / 357.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.05335, allocations: 3.938 kB / 357.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.05421, allocations: 0.6354 MB / 358.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.0548, allocations: 111.3 kB / 358.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.05713, allocations: 0.9601 MB / 359.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.05744, allocations: 263.4 kB / 359.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.05763, allocations: 55.31 kB / 359.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.05773, allocations: 32.5 kB / 359.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.05773, allocations: 0 / 359.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of Templates: time 0.01854/0.07627, allocations: 9.036 MB / 368.9 MB, free: 7.926 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.865374494343996]