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.00113/0.00113, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001275/0.001275, allocations: 163.5 kB / 25.32 MB, free: 9.055 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.934/0.934, allocations: 158.6 MB / 187.2 MB, free: 2.941 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 3.757e-06/3.757e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.8e-05/4.176e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006192/0.006233, allocations: 3.916 MB / 255 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.008702, allocations: 1.333 MB / 256.3 MB, free: 2.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003876/0.00909, allocations: 11.94 kB / 256.3 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.009912, allocations: 266.7 kB / 256.6 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.01054, allocations: 278 kB / 256.8 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.01112, allocations: 259.4 kB / 257.1 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007933/0.01192, allocations: 0.7431 MB / 257.8 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.01217, allocations: 109.5 kB / 257.9 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000565/0.01273, allocations: 399.1 kB / 258.3 MB, free: 180 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.01319, allocations: 247.3 kB / 258.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.01333, allocations: 48 kB / 258.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.01366, allocations: 103.8 kB / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.01381, allocations: 147.5 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.014, allocations: 199.5 kB / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006576/0.01466, allocations: 0.506 MB / 259.6 MB, free: 14.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01466, allocations: 0 / 259.6 MB, free: 14.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.01466, allocations: 0 / 259.6 MB, free: 14.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.01468, allocations: 0 / 259.6 MB, free: 14.94 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.001372/0.01605, allocations: 0.977 MB / 260.5 MB, free: 13.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.0161, allocations: 15.98 kB / 260.6 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.01629, allocations: 100.5 kB / 260.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.01673, allocations: 359.1 kB / 261 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.01677, allocations: 29.38 kB / 261 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.01681, allocations: 40.38 kB / 261.1 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.01732, allocations: 458.2 kB / 261.5 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.01733, allocations: 7.922 kB / 261.5 MB, free: 12.85 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.01736, allocations: 16 kB / 261.5 MB, free: 12.83 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.01738, allocations: 12 kB / 261.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.01765, allocations: 181.8 kB / 261.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.01935, allocations: 1.68 MB / 263.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.01978, allocations: 295.5 kB / 263.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.01995, allocations: 115.6 kB / 263.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.01998, allocations: 11.75 kB / 263.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.0203, allocations: 333 kB / 264.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.485e-06/0.02031, allocations: 0 / 264.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001129/0.02144, allocations: 0.6019 MB / 264.8 MB, free: 9.434 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.02151, allocations: 158.2 kB / 264.9 MB, free: 9.242 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.02185, allocations: 454.7 kB / 265.4 MB, free: 8.781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.02188, allocations: 33.7 kB / 265.4 MB, free: 8.742 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.02204, allocations: 311.4 kB / 265.7 MB, free: 8.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.02211, allocations: 126.9 kB / 265.8 MB, free: 8.309 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.02221, allocations: 79.84 kB / 265.9 MB, free: 8.223 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.02235, allocations: 0.5391 MB / 266.4 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.02246, allocations: 72.95 kB / 266.5 MB, free: 7.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.02265, allocations: 295 kB / 266.8 MB, free: 7.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.02287, allocations: 188.7 kB / 267 MB, free: 7.039 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.02287, allocations: 0 / 267 MB, free: 7.039 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004463/0.02332, allocations: 380.5 kB / 267.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.02334, allocations: 8.094 kB / 267.4 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.02335, allocations: 4 kB / 267.4 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/0.02371, allocations: 134.6 kB / 267.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.02385, allocations: 47.92 kB / 267.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/0.02749, allocations: 8.236 MB / 275.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.02771, allocations: 47.95 kB / 275.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.02773, allocations: 16 kB / 275.8 MB, free: 13.66 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.0001786/0.02791, allocations: 186.4 kB / 276 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.02798, allocations: 71.66 kB / 276.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.02851, allocations: 408.2 kB / 276.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.02851, allocations: 8 kB / 276.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.02851, allocations: 3.938 kB / 276.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.02852, allocations: 3.984 kB / 276.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.02882, allocations: 356.1 kB / 276.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02883, allocations: 0 / 276.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.0289, allocations: 35.92 kB / 276.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.02912, allocations: 134.6 kB / 277 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.02914, allocations: 4 kB / 277 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.03243, allocations: 7.79 MB / 284.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03243, allocations: 0 / 284.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007342/0.03317, allocations: 442.6 kB / 285.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.03334, allocations: 83.62 kB / 285.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.03338, allocations: 12 kB / 285.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.03351, allocations: 28.2 kB / 285.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.03363, allocations: 59.67 kB / 285.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.03365, allocations: 16 kB / 285.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002285/0.03388, allocations: 307 kB / 285.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03388, allocations: 0 / 285.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005575/0.03444, allocations: 179.7 kB / 285.9 MB, free: 2.965 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.0008736/0.03531, allocations: 401.8 kB / 286.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007339/0.03605, allocations: 0.9398 MB / 287.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03605, allocations: 4 kB / 287.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004273/0.03648, allocations: 0.8307 MB / 288.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.03682, allocations: 124.6 kB / 288.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.03823, allocations: 0.8845 MB / 289.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.284e-05/0.03833, allocations: 138.3 kB / 289.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.03845, allocations: 43.27 kB / 289.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.03852, allocations: 40.5 kB / 289.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03852, allocations: 0 / 289.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of Templates: time 0.01236/0.05087, allocations: 9.61 MB / 298.9 MB, free: 5.809 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.008997220080346]