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.001028/0.001028, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 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.001126/0.001126, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 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 0.9251/0.9251, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.126e-05, allocations: 2.312 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005561/0.005592, allocations: 3.889 MB / 255 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.008005, allocations: 1.341 MB / 256.3 MB, free: 2.535 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.00825, allocations: 11.94 kB / 256.4 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.009092, allocations: 258.7 kB / 256.6 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.009676, allocations: 270.2 kB / 256.9 MB, free: 2 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.01028, allocations: 267.3 kB / 257.1 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.01107, allocations: 0.7354 MB / 257.9 MB, free: 1 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.01134, allocations: 109.5 kB / 258 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.01189, allocations: 403.1 kB / 258.4 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.01226, allocations: 247.3 kB / 258.6 MB, free: 256 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.784e-05/0.01234, allocations: 48 kB / 258.7 MB, free: 208 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.01257, allocations: 99.89 kB / 258.8 MB, free: 108 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.01274, allocations: 147.5 kB / 258.9 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.01299, allocations: 203.4 kB / 259.1 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006815/0.01367, allocations: 0.506 MB / 259.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01367, allocations: 4 kB / 259.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01368, allocations: 0 / 259.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.01368, allocations: 0 / 259.6 MB, free: 15.25 MB / 250.7 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.001505/0.01519, allocations: 0.977 MB / 260.6 MB, free: 14.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.01523, allocations: 15.98 kB / 260.6 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.01541, allocations: 96.52 kB / 260.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.01601, allocations: 359.1 kB / 261 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.01605, allocations: 29.38 kB / 261.1 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.01611, allocations: 44.38 kB / 261.1 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.01684, allocations: 458.2 kB / 261.6 MB, free: 13.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.01686, allocations: 3.938 kB / 261.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.0169, allocations: 19.98 kB / 261.6 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.01692, allocations: 12 kB / 261.6 MB, free: 13.13 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.01739, allocations: 177.8 kB / 261.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.01969, allocations: 1.688 MB / 263.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.02029, allocations: 295.5 kB / 263.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.02054, allocations: 115.6 kB / 263.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.02057, allocations: 7.75 kB / 263.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.021, allocations: 329.1 kB / 264.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.02101, allocations: 0 / 264.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001771/0.02278, allocations: 0.598 MB / 264.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.02286, allocations: 166.2 kB / 265 MB, free: 9.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.02339, allocations: 458.7 kB / 265.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.02343, allocations: 29.7 kB / 265.4 MB, free: 9.055 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.02366, allocations: 311.4 kB / 265.7 MB, free: 8.746 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.02377, allocations: 130.9 kB / 265.9 MB, free: 8.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.02391, allocations: 79.84 kB / 265.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.02413, allocations: 0.5391 MB / 266.5 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.02432, allocations: 64.97 kB / 266.5 MB, free: 7.918 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.02464, allocations: 299 kB / 266.8 MB, free: 7.551 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.02502, allocations: 192.7 kB / 267 MB, free: 7.348 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.02502, allocations: 0 / 267 MB, free: 7.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007314/0.02575, allocations: 380.5 kB / 267.4 MB, free: 6.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.02577, allocations: 8 kB / 267.4 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.02578, allocations: 0 / 267.4 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004845/0.02626, allocations: 134.7 kB / 267.5 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.02647, allocations: 47.91 kB / 267.6 MB, free: 6.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/0.03188, allocations: 8.232 MB / 275.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.03213, allocations: 47.77 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.03215, allocations: 16 kB / 275.9 MB, free: 13.98 MB / 266.7 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.0001882/0.03234, allocations: 190.6 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.03243, allocations: 75.59 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/0.03317, allocations: 408.2 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.03318, allocations: 4 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.03318, allocations: 3.938 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.03319, allocations: 3.984 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.03361, allocations: 352.2 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.03361, allocations: 0 / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.03373, allocations: 35.92 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/0.03404, allocations: 138.6 kB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.03406, allocations: 8 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.03724, allocations: 7.782 MB / 284.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.03724, allocations: 0 / 284.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.03774, allocations: 446.7 kB / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.03785, allocations: 79.59 kB / 285.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.03789, allocations: 12.05 kB / 285.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.03802, allocations: 28.16 kB / 285.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.03813, allocations: 59.67 kB / 285.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.03816, allocations: 16 kB / 285.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.03838, allocations: 303 kB / 285.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03838, allocations: 0 / 285.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005012/0.03888, allocations: 179.7 kB / 285.9 MB, free: 3.285 MB / 266.7 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.0008615/0.03974, allocations: 418 kB / 286.4 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006986/0.04044, allocations: 0.936 MB / 287.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.04044, allocations: 3.938 kB / 287.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.04087, allocations: 0.8348 MB / 288.1 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.04122, allocations: 119.9 kB / 288.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.04262, allocations: 0.8923 MB / 289.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.246e-05/0.0427, allocations: 130.4 kB / 289.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.04281, allocations: 47.28 kB / 289.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.04287, allocations: 36.42 kB / 289.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04287, allocations: 0 / 289.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of Templates: time 0.01094/0.05382, allocations: 9.138 MB / 298.5 MB, free: 6.59 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2348500539083034]