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.001316/0.001316, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001454/0.001454, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.001586/0.001586, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.22, allocations: 53.36 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005472/0.2254, allocations: 3.658 MB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.2282, allocations: 1.554 MB / 437.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.2284, allocations: 15.88 kB / 437.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.2292, allocations: 250.8 kB / 437.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006563/0.2298, allocations: 310.1 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.2304, allocations: 267.4 kB / 438.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008509/0.2312, allocations: 0.7241 MB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.2315, allocations: 121.3 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.2319, allocations: 290.9 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.2322, allocations: 310.7 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.2323, allocations: 52 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.2326, allocations: 111.9 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2327, allocations: 147.5 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.233, allocations: 246.8 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00087/0.2338, allocations: 0.7271 MB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2338, allocations: 0 / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2338, allocations: 0 / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.2339, allocations: 4 kB / 441.1 MB, free: 13.95 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.001691/0.2356, allocations: 0.8926 MB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2356, allocations: 8.031 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.2358, allocations: 80.5 kB / 442.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.2364, allocations: 360.3 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.2365, allocations: 33.38 kB / 442.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.2365, allocations: 44.12 kB / 442.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008611/0.2374, allocations: 0.5268 MB / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2374, allocations: 0 / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.2375, allocations: 16 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2375, allocations: 11.98 kB / 443.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/0.2381, allocations: 311.8 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.2406, allocations: 1.486 MB / 444.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.2412, allocations: 327.1 kB / 445.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.2416, allocations: 165.4 kB / 445.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.2416, allocations: 4 kB / 445.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.2421, allocations: 365.2 kB / 445.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.2421, allocations: 3.938 kB / 445.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002224/0.2444, allocations: 0.7129 MB / 446.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/0.2445, allocations: 158.2 kB / 446.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.2451, allocations: 0.494 MB / 447.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.2451, allocations: 29.7 kB / 447.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.2453, allocations: 260.7 kB / 447.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2454, allocations: 131 kB / 447.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2456, allocations: 74.12 kB / 447.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2458, allocations: 362.7 kB / 447.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.246, allocations: 120.8 kB / 448 MB, free: 6.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.2465, allocations: 340.9 kB / 448.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.247, allocations: 277.1 kB / 448.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.247, allocations: 8 kB / 448.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008778/0.2479, allocations: 477 kB / 449.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2479, allocations: 4 kB / 449.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2479, allocations: 4 kB / 449.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/0.2484, allocations: 163.3 kB / 449.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.2486, allocations: 39.97 kB / 449.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005486/0.2541, allocations: 6.138 MB / 455.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.2545, allocations: 47.8 kB / 455.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.2545, allocations: 15.98 kB / 455.5 MB, free: 14.71 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.0002418/0.2547, allocations: 191.8 kB / 455.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.2548, allocations: 55.67 kB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.2559, allocations: 0.4969 MB / 456.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2559, allocations: 0 / 456.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2559, allocations: 0 / 456.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.2561, allocations: 79.55 kB / 456.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.2562, allocations: 15.98 kB / 456.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.2565, allocations: 27.98 kB / 456.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.2566, allocations: 35.92 kB / 456.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001395/0.258, allocations: 0.5621 MB / 456.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00107/0.259, allocations: 0.6757 MB / 457.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002756/0.2593, allocations: 131.9 kB / 457.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004159/0.2597, allocations: 355.1 kB / 458.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Backend: time 3.51e-07/0.2597, allocations: 3.938 kB / 458.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.2626, allocations: 1.124 MB / 459.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 0.001822/0.2644, allocations: 1.449 MB / 460.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of Templates: time 0.01691/0.2813, allocations: 9.575 MB / 470.3 MB, free: 116 kB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/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: 4.570700696000131]