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.0007326/0.0007326, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008002/0.0008002, allocations: 160.4 kB / 25.45 MB, free: 9.352 MB / 18.57 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 0.8436/0.8436, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.392e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003615/0.003639, allocations: 3.588 MB / 303.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.005149, allocations: 1.318 MB / 304.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.005316, allocations: 11.94 kB / 304.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.005972, allocations: 254.7 kB / 304.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.006435, allocations: 278.1 kB / 305.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.006789, allocations: 267.2 kB / 305.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.007267, allocations: 0.7394 MB / 306.1 MB, free: 448 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.007449, allocations: 109.5 kB / 306.2 MB, free: 340 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.00776, allocations: 403.1 kB / 306.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.007986, allocations: 235.3 kB / 306.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.008039, allocations: 52 kB / 306.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.008177, allocations: 103.8 kB / 307 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.008282, allocations: 143.5 kB / 307.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.00842, allocations: 207.5 kB / 307.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.008957, allocations: 0.7164 MB / 308.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00896, allocations: 0 / 308.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.008962, allocations: 0 / 308.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.008969, allocations: 4 kB / 308.1 MB, free: 14.49 MB / 298.7 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.00116/0.01013, allocations: 0.8887 MB / 309 MB, free: 13.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.01017, allocations: 11.98 kB / 309 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.01025, allocations: 68.52 kB / 309.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.01064, allocations: 351.6 kB / 309.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.01067, allocations: 29.38 kB / 309.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.01071, allocations: 40.38 kB / 309.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.01121, allocations: 0.5274 MB / 310 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.01123, allocations: 7.938 kB / 310 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.01126, allocations: 16 kB / 310 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.01127, allocations: 8 kB / 310 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.01165, allocations: 311.8 kB / 310.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.01304, allocations: 1.498 MB / 311.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.01349, allocations: 334.6 kB / 312.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.0137, allocations: 160.8 kB / 312.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.01372, allocations: 4 kB / 312.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.01406, allocations: 369.2 kB / 312.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.01406, allocations: 0 / 312.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001165/0.01523, allocations: 0.708 MB / 313.4 MB, free: 8.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.0153, allocations: 170.2 kB / 313.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.01565, allocations: 481.9 kB / 314 MB, free: 8.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.01567, allocations: 33.7 kB / 314.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.01581, allocations: 256.7 kB / 314.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.01589, allocations: 126.9 kB / 314.4 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.01597, allocations: 78.19 kB / 314.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.01606, allocations: 366.7 kB / 314.9 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.01622, allocations: 121 kB / 315 MB, free: 7.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.01646, allocations: 341.5 kB / 315.3 MB, free: 6.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.01676, allocations: 273.3 kB / 315.6 MB, free: 6.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01676, allocations: 0 / 315.6 MB, free: 6.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006867/0.01745, allocations: 477.3 kB / 316 MB, free: 6.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01746, allocations: 4 kB / 316 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01747, allocations: 0 / 316 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.0178, allocations: 167.2 kB / 316.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.01791, allocations: 39.97 kB / 316.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.02095, allocations: 6.115 MB / 322.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.0211, allocations: 55.83 kB / 322.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.02112, allocations: 12 kB / 322.4 MB, free: 15.29 MB / 314.7 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.000157/0.02128, allocations: 195.6 kB / 322.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.02132, allocations: 47.72 kB / 322.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007653/0.02209, allocations: 0.493 MB / 323.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.02209, allocations: 8.031 kB / 323.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.02209, allocations: 7.875 kB / 323.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.0221, allocations: 3.984 kB / 323.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.02238, allocations: 364.9 kB / 323.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.02238, allocations: 4 kB / 323.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.02246, allocations: 31.92 kB / 323.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.02268, allocations: 155.3 kB / 323.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.0227, allocations: 12 kB / 323.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.02534, allocations: 5.819 MB / 329.6 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02534, allocations: 3.984 kB / 329.6 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.02603, allocations: 0.4961 MB / 330.1 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.02613, allocations: 79.73 kB / 330.1 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.02617, allocations: 12 kB / 330.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.02629, allocations: 27.97 kB / 330.2 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.02639, allocations: 59.67 kB / 330.2 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.02641, allocations: 8 kB / 330.2 MB, free: 6.969 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002397/0.02665, allocations: 347.1 kB / 330.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02665, allocations: 0 / 330.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004678/0.02712, allocations: 175.7 kB / 330.8 MB, free: 6.461 MB / 314.7 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.0007241/0.02784, allocations: 470.1 kB / 331.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006868/0.02853, allocations: 0.7953 MB / 332 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02853, allocations: 0 / 332 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.02891, allocations: 0.6351 MB / 332.6 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.02922, allocations: 101.7 kB / 332.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.0304, allocations: 0.9858 MB / 333.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.03055, allocations: 263.2 kB / 334 MB, free: 3.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.03062, allocations: 36.5 kB / 334 MB, free: 3.039 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03062, allocations: 0 / 334 MB, free: 3.039 MB / 314.7 MB Notification: Performance of Templates: time 0.01034/0.04096, allocations: 14.7 MB / 348.7 MB, free: 4.309 MB / 330.7 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: 5.7906100936234]