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.001389/0.001389, allocations: 84.88 kB / 22 MB, free: 4.754 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.00147/0.00147, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.293/1.293, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 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: 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.001863/0.001863, allocations: 59.92 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2436, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005881/0.2494, allocations: 3.571 MB / 352.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.2525, allocations: 1.329 MB / 353.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.2528, allocations: 7.938 kB / 353.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.2536, allocations: 262.7 kB / 353.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.2542, allocations: 258.4 kB / 353.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.2549, allocations: 271.4 kB / 354.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008826/0.2558, allocations: 0.7124 MB / 354.9 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.256, allocations: 113.5 kB / 355 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.2564, allocations: 283 kB / 355.3 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.2568, allocations: 278.7 kB / 355.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.388e-05/0.2569, allocations: 48 kB / 355.6 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.2572, allocations: 99.91 kB / 355.7 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.2573, allocations: 151.5 kB / 355.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.2576, allocations: 246.8 kB / 356.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.2584, allocations: 0.7181 MB / 356.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2584, allocations: 4 kB / 356.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2584, allocations: 0 / 356.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2585, allocations: 0 / 356.8 MB, free: 7.188 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.001781/0.2602, allocations: 0.881 MB / 357.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2603, allocations: 11.98 kB / 357.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.2604, allocations: 68.52 kB / 357.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.261, allocations: 344.4 kB / 358.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.2611, allocations: 29.38 kB / 358.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.2612, allocations: 48.11 kB / 358.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008784/0.262, allocations: 0.5229 MB / 358.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2621, allocations: 0 / 358.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.2621, allocations: 16 kB / 358.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.2621, allocations: 15.94 kB / 358.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.2628, allocations: 319.8 kB / 359.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.2653, allocations: 1.483 MB / 360.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.2659, allocations: 327.1 kB / 360.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.2663, allocations: 164.7 kB / 361 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.2663, allocations: 8 kB / 361 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/0.2669, allocations: 365.2 kB / 361.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.573e-06/0.2669, allocations: 0 / 361.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002123/0.269, allocations: 0.7197 MB / 362.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.2691, allocations: 158.2 kB / 362.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/0.2697, allocations: 485.8 kB / 362.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.2698, allocations: 37.7 kB / 362.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.27, allocations: 252.7 kB / 363 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2701, allocations: 138.9 kB / 363.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.2703, allocations: 82.19 kB / 363.2 MB, free: 448 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.2704, allocations: 350.8 kB / 363.6 MB, free: 88 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.2707, allocations: 128.9 kB / 363.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.2712, allocations: 337.5 kB / 364 MB, free: 15.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.2717, allocations: 273.1 kB / 364.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2717, allocations: 0 / 364.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008673/0.2726, allocations: 477.2 kB / 364.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2726, allocations: 8 kB / 364.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2726, allocations: 0 / 364.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.2731, allocations: 159.3 kB / 364.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.2733, allocations: 47.97 kB / 365 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005707/0.2791, allocations: 6.13 MB / 371.1 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.2794, allocations: 51.77 kB / 371.2 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.2795, allocations: 12 kB / 371.2 MB, free: 7.988 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.0002643/0.2797, allocations: 195.8 kB / 371.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.2798, allocations: 47.78 kB / 371.4 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.2809, allocations: 0.4969 MB / 371.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2809, allocations: 4 kB / 371.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2809, allocations: 3.984 kB / 371.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2809, allocations: 0 / 371.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.2814, allocations: 349 kB / 372.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2814, allocations: 7.984 kB / 372.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.2815, allocations: 31.92 kB / 372.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.282, allocations: 155.3 kB / 372.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.282, allocations: 4 kB / 372.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/0.2875, allocations: 5.835 MB / 378.3 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2875, allocations: 0 / 378.3 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.2885, allocations: 0.5113 MB / 378.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.2887, allocations: 75.61 kB / 378.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.2888, allocations: 4 kB / 378.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.2891, allocations: 35.97 kB / 378.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.2892, allocations: 47.91 kB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.2893, allocations: 15.98 kB / 379 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004499/0.2897, allocations: 347.1 kB / 379.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2897, allocations: 8 kB / 379.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008518/0.2906, allocations: 175.6 kB / 379.5 MB, free: 15.16 MB / 350.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.001755/0.2923, allocations: 468 kB / 379.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.2936, allocations: 0.7956 MB / 380.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2936, allocations: 4 kB / 380.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008292/0.2944, allocations: 0.6349 MB / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.295, allocations: 105.7 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.2971, allocations: 0.9671 MB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2974, allocations: 263.2 kB / 382.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.2976, allocations: 47.28 kB / 382.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.2977, allocations: 40.48 kB / 382.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2977, allocations: 0 / 382.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Templates: time 0.0177/0.3153, allocations: 9.025 MB / 391.8 MB, free: 2.641 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 -s ida -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: 4.794949284056202]