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.001647/0.001647, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001614/0.001614, allocations: 212 kB / 24.47 MB, free: 3.547 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.454/1.454, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.001796/0.001796, allocations: 51.92 kB / 347.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2988, allocations: 49.16 MB / 396.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004914/0.3037, allocations: 3.574 MB / 400.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.3061, allocations: 1.33 MB / 401.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.3063, allocations: 11.25 kB / 401.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.3071, allocations: 256.1 kB / 402 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005452/0.3077, allocations: 263.9 kB / 402.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.3083, allocations: 271.8 kB / 402.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000706/0.309, allocations: 0.7161 MB / 403.3 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.3093, allocations: 112.3 kB / 403.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.3096, allocations: 286.2 kB / 403.6 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.31, allocations: 275 kB / 403.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3101, allocations: 50 kB / 404 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.3103, allocations: 101.1 kB / 404.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3105, allocations: 148.5 kB / 404.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3107, allocations: 240 kB / 404.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007901/0.3115, allocations: 0.7213 MB / 405.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3115, allocations: 1.812 kB / 405.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3115, allocations: 0 / 405.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3115, allocations: 0 / 405.2 MB, free: 4.492 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.001583/0.3131, allocations: 0.8773 MB / 406 MB, free: 3.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3131, allocations: 14.31 kB / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.3133, allocations: 69.73 kB / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.3138, allocations: 352.1 kB / 406.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.3139, allocations: 30.55 kB / 406.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.3139, allocations: 42.12 kB / 406.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.3147, allocations: 0.5285 MB / 407.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3147, allocations: 0 / 407.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.3147, allocations: 16.12 kB / 407.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.3147, allocations: 9.625 kB / 407.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.3153, allocations: 310.8 kB / 407.4 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.3174, allocations: 1.488 MB / 408.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.318, allocations: 329 kB / 409.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.3183, allocations: 167.1 kB / 409.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3183, allocations: 7.938 kB / 409.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.3188, allocations: 364.8 kB / 409.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.3188, allocations: 0 / 409.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00202/0.3208, allocations: 0.7214 MB / 410.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3208, allocations: 158.7 kB / 410.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.3213, allocations: 485.7 kB / 411.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.3214, allocations: 37.48 kB / 411.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3215, allocations: 256.2 kB / 411.4 MB, free: 456 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.3216, allocations: 134.7 kB / 411.5 MB, free: 336 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3217, allocations: 78.06 kB / 411.6 MB, free: 284 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3218, allocations: 350.2 kB / 411.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.3221, allocations: 127 kB / 412 MB, free: 15.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.3225, allocations: 342.8 kB / 412.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.3231, allocations: 273.5 kB / 412.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3231, allocations: 0 / 412.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009335/0.324, allocations: 479.2 kB / 413.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3241, allocations: 5.312 kB / 413.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3241, allocations: 1.312 kB / 413.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/0.3246, allocations: 156.5 kB / 413.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.3249, allocations: 45.53 kB / 413.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/0.3311, allocations: 6.125 MB / 419.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.3317, allocations: 57.69 kB / 419.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.3317, allocations: 12.97 kB / 419.5 MB, free: 9.012 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.0004038/0.3321, allocations: 191.1 kB / 419.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.3322, allocations: 47.62 kB / 419.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.3333, allocations: 0.4963 MB / 420.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3333, allocations: 7.828 kB / 420.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.3333, allocations: 0 / 420.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3333, allocations: 1.844 kB / 420.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.3338, allocations: 353.1 kB / 420.6 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3338, allocations: 1.281 kB / 420.6 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.334, allocations: 28.33 kB / 420.6 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.3344, allocations: 164.1 kB / 420.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.3345, allocations: 10.25 kB / 420.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/0.34, allocations: 5.833 MB / 426.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.34, allocations: 1.188 kB / 426.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3412, allocations: 0.5054 MB / 427.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.3414, allocations: 74.98 kB / 427.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.3415, allocations: 11.16 kB / 427.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.3418, allocations: 32.91 kB / 427.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.3419, allocations: 53.64 kB / 427.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.342, allocations: 16.03 kB / 427.3 MB, free: 2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004811/0.3425, allocations: 348.3 kB / 427.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3425, allocations: 0 / 427.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009602/0.3434, allocations: 175.1 kB / 427.8 MB, free: 1.758 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.001799/0.3452, allocations: 465.2 kB / 428.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.3466, allocations: 0.7956 MB / 429.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3466, allocations: 0 / 429.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.3474, allocations: 0.6374 MB / 429.7 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.348, allocations: 108.4 kB / 429.8 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.35, allocations: 0.9765 MB / 430.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3503, allocations: 266.9 kB / 431.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.3505, allocations: 48.75 kB / 431.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.3506, allocations: 40.08 kB / 431.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3506, allocations: 0 / 431.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Templates: time 0.01795/0.3685, allocations: 9.596 MB / 440.7 MB, free: 5.773 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: 5.058421924710274]