Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002169/0.002169, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00244/0.00244, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 51.86 kB / 378.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2684, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.008046/0.2764, allocations: 4.029 MB / 435.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.2806, allocations: 1.644 MB / 437.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.2811, allocations: 15.88 kB / 437.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.2821, allocations: 250.8 kB / 437.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009998/0.2831, allocations: 313.8 kB / 437.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.2841, allocations: 263.4 kB / 438.1 MB, free: 420 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.2853, allocations: 0.7241 MB / 438.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.2856, allocations: 125.1 kB / 439 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000601/0.2862, allocations: 298.9 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.2868, allocations: 302.8 kB / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.2869, allocations: 52 kB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.2873, allocations: 111.9 kB / 439.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.2875, allocations: 143.5 kB / 439.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.288, allocations: 302.4 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.2892, allocations: 0.725 MB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2892, allocations: 0 / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2892, allocations: 0 / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.2892, allocations: 4 kB / 440.9 MB, free: 13.64 MB / 350.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.002442/0.2917, allocations: 0.8927 MB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2917, allocations: 8.031 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.292, allocations: 80.47 kB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.2927, allocations: 369.2 kB / 442.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.2927, allocations: 33.38 kB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.2928, allocations: 44.12 kB / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.2939, allocations: 441.5 kB / 442.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.294, allocations: 0 / 442.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.294, allocations: 16 kB / 442.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.294, allocations: 12 kB / 442.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.2949, allocations: 311.8 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.2985, allocations: 1.649 MB / 444.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.2995, allocations: 331.1 kB / 445 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.2999, allocations: 153.4 kB / 445.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.3, allocations: 4 kB / 445.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006631/0.3006, allocations: 270.3 kB / 445.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.906e-06/0.3007, allocations: 0 / 445.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002784/0.3034, allocations: 0.7129 MB / 446.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.3036, allocations: 187.9 kB / 446.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.3043, allocations: 0.5019 MB / 446.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.3043, allocations: 37.7 kB / 446.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.3046, allocations: 256.8 kB / 447.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.3047, allocations: 130.9 kB / 447.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3048, allocations: 78.14 kB / 447.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.305, allocations: 362.8 kB / 447.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.3053, allocations: 124.8 kB / 447.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.3057, allocations: 213.2 kB / 448 MB, free: 6.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.3062, allocations: 273.1 kB / 448.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3062, allocations: 0 / 448.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008997/0.3071, allocations: 481.1 kB / 448.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3071, allocations: 4 kB / 448.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3071, allocations: 0 / 448.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.3077, allocations: 163.3 kB / 448.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.308, allocations: 48 kB / 449 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006081/0.314, allocations: 6.253 MB / 455.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.3145, allocations: 51.75 kB / 455.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.3145, allocations: 8 kB / 455.3 MB, free: 14.4 MB / 366.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.0003135/0.3148, allocations: 195.6 kB / 455.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.3149, allocations: 63.67 kB / 455.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.316, allocations: 0.4937 MB / 456 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.316, allocations: 4 kB / 456 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.316, allocations: 96 / 456 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.316, allocations: 7.969 kB / 456 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.3166, allocations: 472.2 kB / 456.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3166, allocations: 0 / 456.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3167, allocations: 35.84 kB / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/0.3172, allocations: 147.3 kB / 456.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.3172, allocations: 11.98 kB / 456.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.3229, allocations: 5.954 MB / 462.7 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3229, allocations: 0 / 462.7 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.324, allocations: 0.4996 MB / 463.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.3242, allocations: 79.56 kB / 463.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.3243, allocations: 4 kB / 463.2 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3246, allocations: 39.97 kB / 463.3 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.3247, allocations: 51.89 kB / 463.3 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.3248, allocations: 12 kB / 463.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005046/0.3253, allocations: 367.1 kB / 463.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3253, allocations: 0 / 463.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008491/0.3261, allocations: 183.6 kB / 463.9 MB, free: 5.246 MB / 366.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.001713/0.3278, allocations: 445.4 kB / 464.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.3292, allocations: 0.7874 MB / 465.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3292, allocations: 0 / 465.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.33, allocations: 0.6429 MB / 465.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.3306, allocations: 117.6 kB / 465.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.3329, allocations: 0.9827 MB / 466.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.3335, allocations: 0.8633 MB / 467.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.3337, allocations: 52.16 kB / 467.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.3338, allocations: 35.44 kB / 467.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3338, allocations: 0 / 467.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of Templates: time 0.02048/0.3542, allocations: 10.03 MB / 477.8 MB, free: 7.402 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.116074167890474]