Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 179.9 kB / 24.46 MB, free: 4.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 59.92 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2928, allocations: 49.15 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00511/0.2979, allocations: 3.948 MB / 400.8 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.3009, allocations: 1.38 MB / 402.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.3013, allocations: 11.09 kB / 402.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009502/0.3022, allocations: 263.9 kB / 402.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.3029, allocations: 258.6 kB / 402.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.3036, allocations: 274.9 kB / 402.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.3044, allocations: 0.7095 MB / 403.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.3046, allocations: 125.9 kB / 403.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.305, allocations: 285.9 kB / 404 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.3053, allocations: 299.8 kB / 404.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.3054, allocations: 58.27 kB / 404.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.3056, allocations: 104.6 kB / 404.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.3058, allocations: 145.8 kB / 404.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.3061, allocations: 299.1 kB / 404.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3071, allocations: 0.7076 MB / 405.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3071, allocations: 0 / 405.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3071, allocations: 1.062 kB / 405.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3072, allocations: 0 / 405.6 MB, free: 4.059 MB / 318.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.001728/0.3089, allocations: 0.8831 MB / 406.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3089, allocations: 16.61 kB / 406.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3091, allocations: 70.34 kB / 406.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.3096, allocations: 351.3 kB / 407 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.3096, allocations: 34.62 kB / 407 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.3097, allocations: 43.19 kB / 407 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.3105, allocations: 443.8 kB / 407.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3105, allocations: 0 / 407.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.3105, allocations: 16.73 kB / 407.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3105, allocations: 11 kB / 407.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.3111, allocations: 313.9 kB / 407.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.3135, allocations: 1.636 MB / 409.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.3141, allocations: 345.3 kB / 409.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.3145, allocations: 161.5 kB / 409.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.3145, allocations: 3.938 kB / 409.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.315, allocations: 263.8 kB / 410.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.315, allocations: 1.094 kB / 410.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001974/0.3169, allocations: 0.7075 MB / 410.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.317, allocations: 197.6 kB / 411.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.3176, allocations: 0.4921 MB / 411.6 MB, free: 356 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3176, allocations: 37.16 kB / 411.6 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3177, allocations: 253.6 kB / 411.9 MB, free: 84 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.3178, allocations: 130.1 kB / 412 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.318, allocations: 77.28 kB / 412.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3181, allocations: 358.9 kB / 412.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.3184, allocations: 124 kB / 412.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.3188, allocations: 211.8 kB / 412.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.3193, allocations: 276.5 kB / 413 MB, free: 15.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3193, allocations: 0 / 413 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008545/0.3202, allocations: 469.7 kB / 413.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3202, allocations: 5.562 kB / 413.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3202, allocations: 5.375 kB / 413.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.3207, allocations: 156.7 kB / 413.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3209, allocations: 44.11 kB / 413.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.3266, allocations: 6.249 MB / 419.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.327, allocations: 58.31 kB / 420 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.327, allocations: 14.28 kB / 420 MB, free: 8.625 MB / 334.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.0003451/0.3274, allocations: 187 kB / 420.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3275, allocations: 56.52 kB / 420.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.3286, allocations: 0.4943 MB / 420.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3286, allocations: 4.594 kB / 420.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3286, allocations: 0 / 420.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3286, allocations: 0 / 420.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.3292, allocations: 473.4 kB / 421.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3292, allocations: 1.094 kB / 421.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3293, allocations: 31.48 kB / 421.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.3298, allocations: 155.3 kB / 421.4 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3298, allocations: 6.5 kB / 421.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.3353, allocations: 5.948 MB / 427.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3353, allocations: 1.156 kB / 427.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.3364, allocations: 0.5011 MB / 427.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.3367, allocations: 83.06 kB / 427.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.3368, allocations: 11.36 kB / 427.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.337, allocations: 28.86 kB / 428 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.3372, allocations: 61.23 kB / 428 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.3372, allocations: 12.69 kB / 428 MB, free: 1.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004889/0.3377, allocations: 360.3 kB / 428.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3377, allocations: 0 / 428.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000849/0.3386, allocations: 170.3 kB / 428.6 MB, free: 1.09 MB / 334.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 (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.00166/0.3402, allocations: 436.8 kB / 429 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.3416, allocations: 0.7849 MB / 429.8 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3416, allocations: 1.156 kB / 429.8 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.3425, allocations: 0.6392 MB / 430.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.3431, allocations: 118.7 kB / 430.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3453, allocations: 0.9872 MB / 431.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.3459, allocations: 0.8618 MB / 432.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.3461, allocations: 41.88 kB / 432.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.3461, allocations: 35.14 kB / 432.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3461, allocations: 0 / 432.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of Templates: time 0.01944/0.3656, allocations: 9.975 MB / 442.4 MB, free: 4.219 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.976697677746415]