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.002067/0.002067, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002452/0.002452, allocations: 210 kB / 24.48 MB, free: 3.938 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.564/1.564, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.001552/0.001552, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2201, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005478/0.2256, allocations: 3.658 MB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.2286, allocations: 1.551 MB / 437.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.229, allocations: 15.94 kB / 437.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008135/0.2298, allocations: 254.7 kB / 437.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000771/0.2306, allocations: 308.5 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.2313, allocations: 271.4 kB / 438.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008311/0.2321, allocations: 0.7202 MB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.2324, allocations: 113.4 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.2328, allocations: 295 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.2332, allocations: 274.7 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-05/0.2333, allocations: 52 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.2336, allocations: 107.9 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.2337, allocations: 143.5 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.234, allocations: 254.7 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000877/0.2349, allocations: 0.7233 MB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2349, allocations: 7.938 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2349, allocations: 0 / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2349, allocations: 3.938 kB / 441 MB, free: 13.99 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.001733/0.2366, allocations: 0.8888 MB / 441.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2367, allocations: 12.03 kB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.2369, allocations: 72.52 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.2375, allocations: 372.2 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.2376, allocations: 29.38 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.2376, allocations: 40.12 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008483/0.2385, allocations: 0.5307 MB / 443 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2385, allocations: 0 / 443 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.2385, allocations: 16 kB / 443 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.2385, allocations: 12 kB / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.2392, allocations: 307.8 kB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.2416, allocations: 1.493 MB / 444.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/0.2423, allocations: 323.1 kB / 445.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.2427, allocations: 161.4 kB / 445.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.2427, allocations: 4 kB / 445.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005432/0.2432, allocations: 373.2 kB / 445.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.2432, allocations: 0 / 445.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002141/0.2454, allocations: 0.7168 MB / 446.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.2455, allocations: 162.2 kB / 446.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.2461, allocations: 0.49 MB / 447 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.2462, allocations: 33.7 kB / 447 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.2464, allocations: 260.7 kB / 447.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.2465, allocations: 123 kB / 447.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.2467, allocations: 78.12 kB / 447.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2468, allocations: 358.8 kB / 447.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.2471, allocations: 124.8 kB / 448 MB, free: 6.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.2475, allocations: 340.9 kB / 448.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.2481, allocations: 277.1 kB / 448.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2481, allocations: 0 / 448.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008928/0.249, allocations: 477.1 kB / 449 MB, free: 5.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.249, allocations: 8 kB / 449 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.249, allocations: 3.984 kB / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005324/0.2495, allocations: 159.4 kB / 449.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2497, allocations: 47.84 kB / 449.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/0.2555, allocations: 6.126 MB / 455.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.2559, allocations: 56 kB / 455.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.2559, allocations: 12 kB / 455.4 MB, free: 14.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.0002946/0.2562, allocations: 187.7 kB / 455.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.2563, allocations: 55.75 kB / 455.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.2574, allocations: 0.5008 MB / 456.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.2574, allocations: 7.938 kB / 456.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.2574, allocations: 0 / 456.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2574, allocations: 7.984 kB / 456.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.2579, allocations: 349 kB / 456.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2579, allocations: 0 / 456.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.2581, allocations: 35.91 kB / 456.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.2585, allocations: 155.3 kB / 456.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.2586, allocations: 7.984 kB / 456.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/0.264, allocations: 5.843 MB / 462.6 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.264, allocations: 0 / 462.6 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2651, allocations: 0.5073 MB / 463.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.2653, allocations: 79.69 kB / 463.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.2654, allocations: 12 kB / 463.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.2657, allocations: 31.97 kB / 463.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.2658, allocations: 51.91 kB / 463.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.2659, allocations: 11.98 kB / 463.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004677/0.2663, allocations: 355.1 kB / 463.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2663, allocations: 0 / 463.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008356/0.2672, allocations: 183.7 kB / 463.8 MB, free: 5.887 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 (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.001695/0.2689, allocations: 471.6 kB / 464.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.2701, allocations: 0.7873 MB / 465 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2701, allocations: 0 / 465 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.2709, allocations: 0.639 MB / 465.7 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.2715, allocations: 103.3 kB / 465.8 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.2736, allocations: 1.023 MB / 466.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2739, allocations: 263.4 kB / 467.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.274, allocations: 35.44 kB / 467.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of SimCode: time 5.3e-07/0.274, allocations: 0 / 467.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of Templates: time 0.01944/0.2934, allocations: 14.96 MB / 482.1 MB, free: 3.656 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/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: 9.240488070994616]