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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 101.2 kB / 21.93 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.523/1.523, allocations: 207.7 MB / 236.1 MB, free: 9.777 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 58.95 kB / 348.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3216, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00469/0.3263, allocations: 3.586 MB / 401.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3288, allocations: 1.322 MB / 402.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.3291, allocations: 10.72 kB / 402.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009328/0.3301, allocations: 261.3 kB / 402.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.3307, allocations: 259.5 kB / 403 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.3314, allocations: 272.6 kB / 403.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.3321, allocations: 0.7143 MB / 404 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.3323, allocations: 114.7 kB / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.3327, allocations: 280.6 kB / 404.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.333, allocations: 279.2 kB / 404.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.3331, allocations: 53.94 kB / 404.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.3333, allocations: 101.2 kB / 404.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.3335, allocations: 149.3 kB / 405 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.3337, allocations: 238.5 kB / 405.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008047/0.3345, allocations: 0.7187 MB / 405.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3345, allocations: 0 / 405.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3345, allocations: 1.344 kB / 405.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3345, allocations: 0.8438 kB / 405.9 MB, free: 4.5 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.001578/0.3361, allocations: 0.8815 MB / 406.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3362, allocations: 14.28 kB / 406.8 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3363, allocations: 68.14 kB / 406.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.3368, allocations: 348.3 kB / 407.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.3368, allocations: 30.95 kB / 407.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.3369, allocations: 42.06 kB / 407.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.3376, allocations: 0.5241 MB / 407.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3377, allocations: 0 / 407.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.3377, allocations: 16.41 kB / 407.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.3377, allocations: 14 kB / 407.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.3383, allocations: 323 kB / 408.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.3405, allocations: 1.489 MB / 409.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.3411, allocations: 326.4 kB / 410 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.3414, allocations: 168.2 kB / 410.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3414, allocations: 4.188 kB / 410.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.3419, allocations: 361.6 kB / 410.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.3419, allocations: 0 / 410.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002025/0.3439, allocations: 0.7147 MB / 411.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.344, allocations: 163.1 kB / 411.4 MB, free: 1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.3445, allocations: 486.3 kB / 411.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3445, allocations: 36.98 kB / 411.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.3447, allocations: 259.9 kB / 412.1 MB, free: 460 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.3448, allocations: 135.9 kB / 412.3 MB, free: 340 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3449, allocations: 72.98 kB / 412.3 MB, free: 292 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.345, allocations: 357.8 kB / 412.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3453, allocations: 123.9 kB / 412.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.3457, allocations: 338.2 kB / 413.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.3462, allocations: 274 kB / 413.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3462, allocations: 0 / 413.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008676/0.3471, allocations: 478.6 kB / 413.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3471, allocations: 4.906 kB / 413.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3471, allocations: 1.031 kB / 413.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.3476, allocations: 153.8 kB / 414 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3479, allocations: 49.84 kB / 414.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.3534, allocations: 6.129 MB / 420.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.3539, allocations: 52.16 kB / 420.3 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.354, allocations: 14.19 kB / 420.3 MB, free: 9.02 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.0003302/0.3543, allocations: 190.7 kB / 420.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.3544, allocations: 48.44 kB / 420.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3555, allocations: 0.4951 MB / 421 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3555, allocations: 4.312 kB / 421 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3555, allocations: 1.219 kB / 421 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.3555, allocations: 3.984 kB / 421 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.3561, allocations: 354.9 kB / 421.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3561, allocations: 7.938 kB / 421.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3562, allocations: 29.14 kB / 421.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.3567, allocations: 159.2 kB / 421.5 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.3567, allocations: 6.219 kB / 421.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/0.362, allocations: 5.834 MB / 427.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.362, allocations: 3.938 kB / 427.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3632, allocations: 0.5021 MB / 427.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.3634, allocations: 78.41 kB / 428 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.3635, allocations: 11.34 kB / 428 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.3637, allocations: 32.59 kB / 428 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.3639, allocations: 49.81 kB / 428.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.3639, allocations: 16.88 kB / 428.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.3644, allocations: 351.1 kB / 428.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3644, allocations: 1.344 kB / 428.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008524/0.3652, allocations: 175.5 kB / 428.6 MB, free: 1.762 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 (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.00175/0.367, allocations: 456.5 kB / 429 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.3683, allocations: 0.7987 MB / 429.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3683, allocations: 0 / 429.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.3691, allocations: 0.6338 MB / 430.5 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.3697, allocations: 111.5 kB / 430.6 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.3719, allocations: 1.016 MB / 431.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.3722, allocations: 263.1 kB / 431.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.3723, allocations: 30.72 kB / 431.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3723, allocations: 0 / 431.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of Templates: time 0.02062/0.393, allocations: 14.71 MB / 446.6 MB, free: 0.6328 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/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: 10.113304015714675]