Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 72.02 kB / 378.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2207, allocations: 53.32 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005794/0.2265, allocations: 4.033 MB / 436.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.2293, allocations: 1.64 MB / 437.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.2296, allocations: 8 kB / 437.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.2303, allocations: 250.7 kB / 438 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006359/0.231, allocations: 302.2 kB / 438.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.2316, allocations: 266.2 kB / 438.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007718/0.2323, allocations: 0.7318 MB / 439.3 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.2326, allocations: 118.9 kB / 439.4 MB, free: 12 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.233, allocations: 283 kB / 439.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.2334, allocations: 310.7 kB / 440 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.2334, allocations: 52 kB / 440 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.2336, allocations: 108 kB / 440.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.2338, allocations: 147.4 kB / 440.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.2341, allocations: 294.5 kB / 440.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008195/0.2349, allocations: 0.7313 MB / 441.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2349, allocations: 4 kB / 441.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2349, allocations: 0 / 441.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2349, allocations: 0 / 441.3 MB, free: 14.1 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.001757/0.2367, allocations: 0.9563 MB / 442.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2367, allocations: 8.031 kB / 442.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.237, allocations: 88.45 kB / 442.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.2376, allocations: 431.1 kB / 442.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.2376, allocations: 29.38 kB / 442.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.2377, allocations: 48.06 kB / 442.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/0.2385, allocations: 437.6 kB / 443.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2385, allocations: 0 / 443.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.2385, allocations: 16 kB / 443.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.2385, allocations: 12 kB / 443.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006563/0.2392, allocations: 319.7 kB / 443.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.2419, allocations: 1.688 MB / 445.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.2426, allocations: 335 kB / 445.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.2429, allocations: 152.6 kB / 445.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.2429, allocations: 4 kB / 445.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005023/0.2434, allocations: 266.4 kB / 446 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.2434, allocations: 0 / 446 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002457/0.2459, allocations: 1.013 MB / 447.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.246, allocations: 187.9 kB / 447.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.2467, allocations: 0.5096 MB / 447.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.2467, allocations: 41.64 kB / 447.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.2469, allocations: 260.8 kB / 448 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2471, allocations: 130.9 kB / 448.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.2472, allocations: 74.14 kB / 448.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2474, allocations: 362.8 kB / 448.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.2477, allocations: 116.8 kB / 448.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.2481, allocations: 217.3 kB / 448.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.2486, allocations: 273.1 kB / 449.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2486, allocations: 0 / 449.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009195/0.2495, allocations: 481.1 kB / 449.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2495, allocations: 4 kB / 449.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2495, allocations: 96 / 449.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.2501, allocations: 159.4 kB / 449.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.2503, allocations: 51.91 kB / 449.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.2564, allocations: 6.66 MB / 456.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.2568, allocations: 47.83 kB / 456.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.2569, allocations: 16 kB / 456.6 MB, free: 13.75 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.0002726/0.2572, allocations: 188 kB / 456.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.2572, allocations: 59.62 kB / 456.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.2583, allocations: 0.4909 MB / 457.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2583, allocations: 3.984 kB / 457.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2583, allocations: 0 / 457.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.2585, allocations: 156.7 kB / 457.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.2586, allocations: 15.98 kB / 457.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.2589, allocations: 31.92 kB / 457.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.259, allocations: 35.94 kB / 457.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001436/0.2604, allocations: 0.5548 MB / 458.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001048/0.2615, allocations: 0.6634 MB / 458.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002593/0.2618, allocations: 124.5 kB / 458.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004431/0.2622, allocations: 367.1 kB / 459.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Backend: time 3.9e-07/0.2622, allocations: 0 / 459.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002823/0.265, allocations: 1.102 MB / 460.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of SimCode: time 0.001936/0.267, allocations: 1.483 MB / 461.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01688/0.2838, allocations: 9.289 MB / 471.1 MB, free: 15.29 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.399542017839849]