Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007873/0.0007873, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003189/0.003189, allocations: 150 kB / 24.68 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8032/0.8032, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.81e-05, allocations: 2.281 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003134/0.003152, allocations: 3.623 MB / 323.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.004606, allocations: 1.387 MB / 324.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.004785, allocations: 19.81 kB / 324.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.005411, allocations: 246.7 kB / 325 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.005788, allocations: 270.1 kB / 325.2 MB, free: 288 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.006216, allocations: 293.9 kB / 325.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.006687, allocations: 0.7355 MB / 326.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.00687, allocations: 113.5 kB / 326.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.007156, allocations: 403.1 kB / 326.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.007361, allocations: 231.3 kB / 327 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.007411, allocations: 52 kB / 327 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.007544, allocations: 99.89 kB / 327.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.007644, allocations: 159.4 kB / 327.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.007782, allocations: 203.5 kB / 327.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.00829, allocations: 0.7203 MB / 328.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.008291, allocations: 0 / 328.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008293, allocations: 0 / 328.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.0083, allocations: 0 / 328.2 MB, free: 13.29 MB / 298.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.0009821/0.009282, allocations: 0.8764 MB / 329.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.009318, allocations: 12.86 kB / 329.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.009402, allocations: 64.56 kB / 329.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.00979, allocations: 355.5 kB / 329.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.009815, allocations: 29.38 kB / 329.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.009852, allocations: 40.38 kB / 329.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.01035, allocations: 0.5274 MB / 330.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.01036, allocations: 7.922 kB / 330.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.01039, allocations: 20 kB / 330.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.0104, allocations: 8 kB / 330.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.01077, allocations: 315.8 kB / 330.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.01237, allocations: 1.487 MB / 331.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.01278, allocations: 327 kB / 332.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.01297, allocations: 168.2 kB / 332.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.01299, allocations: 4 kB / 332.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.01329, allocations: 373.1 kB / 332.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.322e-06/0.01329, allocations: 0 / 332.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.00109/0.01438, allocations: 0.7159 MB / 333.5 MB, free: 7.727 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.01444, allocations: 170.2 kB / 333.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.01477, allocations: 477.9 kB / 334.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.01479, allocations: 37.7 kB / 334.2 MB, free: 7.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01493, allocations: 252.7 kB / 334.4 MB, free: 6.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.01499, allocations: 126.9 kB / 334.5 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.01508, allocations: 82.14 kB / 334.6 MB, free: 6.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.01516, allocations: 366.7 kB / 335 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.01532, allocations: 121 kB / 335.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.01553, allocations: 345.4 kB / 335.4 MB, free: 5.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.01582, allocations: 269.1 kB / 335.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01582, allocations: 0 / 335.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004795/0.0163, allocations: 477 kB / 336.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01632, allocations: 8 kB / 336.2 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01632, allocations: 0 / 336.2 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/0.01662, allocations: 159.4 kB / 336.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.01673, allocations: 47.91 kB / 336.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/0.01979, allocations: 6.13 MB / 342.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.01995, allocations: 47.81 kB / 342.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.01996, allocations: 15.98 kB / 342.6 MB, free: 14.08 MB / 314.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.0001442/0.02011, allocations: 195.6 kB / 342.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.02015, allocations: 51.67 kB / 342.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005774/0.02073, allocations: 0.4968 MB / 343.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02073, allocations: 4 kB / 343.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02073, allocations: 3.938 kB / 343.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.02074, allocations: 3.984 kB / 343.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.021, allocations: 349 kB / 343.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.021, allocations: 0 / 343.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.02107, allocations: 31.92 kB / 343.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002234/0.02129, allocations: 155.3 kB / 343.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.02131, allocations: 12 kB / 343.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.02413, allocations: 5.835 MB / 349.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02413, allocations: 0 / 349.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.02467, allocations: 0.4996 MB / 350.2 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.02478, allocations: 87.55 kB / 350.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.02481, allocations: 11.98 kB / 350.3 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.02492, allocations: 27.98 kB / 350.3 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.02501, allocations: 55.89 kB / 350.4 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.02503, allocations: 8 kB / 350.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002414/0.02527, allocations: 351.1 kB / 350.7 MB, free: 5.414 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02527, allocations: 0 / 350.7 MB, free: 5.414 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004419/0.02572, allocations: 171.8 kB / 350.9 MB, free: 5.246 MB / 314.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.0007091/0.02643, allocations: 460.7 kB / 351.3 MB, free: 4.969 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.0271, allocations: 0.784 MB / 352.1 MB, free: 4.133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.0271, allocations: 0 / 352.1 MB, free: 4.133 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.02747, allocations: 0.6388 MB / 352.8 MB, free: 3.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.02779, allocations: 112.3 kB / 352.9 MB, free: 3.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.02931, allocations: 0.9742 MB / 353.8 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.0295, allocations: 267.1 kB / 354.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.02956, allocations: 36.5 kB / 354.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02957, allocations: 0 / 354.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of Templates: time 0.01051/0.04008, allocations: 14.7 MB / 368.8 MB, free: 3.328 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.448228404857218]