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.001285/0.001285, allocations: 116.1 kB / 18.45 MB, free: 4.562 MB / 14.72 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.001397/0.001397, allocations: 194.8 kB / 21.4 MB, free: 1.629 MB / 14.72 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 1.412/1.412, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001515/0.001515, allocations: 51.92 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09489, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005743/0.1006, allocations: 3.974 MB / 422.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1033, allocations: 1.437 MB / 424.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.1036, allocations: 11.94 kB / 424.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007784/0.1044, allocations: 250.8 kB / 424.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006393/0.105, allocations: 258.3 kB / 424.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.1058, allocations: 290.9 kB / 425.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008721/0.1066, allocations: 0.7085 MB / 425.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1069, allocations: 116.9 kB / 426 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.1073, allocations: 291 kB / 426.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.1077, allocations: 310.7 kB / 426.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.136e-05/0.1078, allocations: 48 kB / 426.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.108, allocations: 99.95 kB / 426.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1082, allocations: 143.5 kB / 426.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.1085, allocations: 306.4 kB / 427.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009832/0.1095, allocations: 0.7041 MB / 427.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1095, allocations: 0 / 427.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1095, allocations: 0 / 427.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.1095, allocations: 0 / 427.9 MB, free: 3.152 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.001774/0.1113, allocations: 0.9587 MB / 428.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1113, allocations: 8.031 kB / 428.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1114, allocations: 68.52 kB / 428.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.112, allocations: 423.2 kB / 429.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.1121, allocations: 33.31 kB / 429.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.1121, allocations: 40.12 kB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.1129, allocations: 441.5 kB / 429.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1129, allocations: 4 kB / 429.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.113, allocations: 20 kB / 429.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.113, allocations: 8 kB / 429.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.1137, allocations: 311.8 kB / 430.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.1162, allocations: 1.703 MB / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.1169, allocations: 332.1 kB / 432.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.1173, allocations: 168.7 kB / 432.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.1173, allocations: 4 kB / 432.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.1178, allocations: 254.5 kB / 432.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.1178, allocations: 0 / 432.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002369/0.1202, allocations: 1.014 MB / 433.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1203, allocations: 191.8 kB / 433.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.1209, allocations: 0.4979 MB / 434.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.121, allocations: 41.7 kB / 434.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.1212, allocations: 248.8 kB / 434.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1213, allocations: 126.9 kB / 434.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.1214, allocations: 74.12 kB / 434.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1216, allocations: 362.7 kB / 435.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.1219, allocations: 124.8 kB / 435.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.1223, allocations: 217.3 kB / 435.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.1228, allocations: 265.3 kB / 435.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1228, allocations: 8 kB / 435.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009177/0.1237, allocations: 473.1 kB / 436.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1238, allocations: 4 kB / 436.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1238, allocations: 0 / 436.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005648/0.1243, allocations: 167.4 kB / 436.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.1246, allocations: 43.92 kB / 436.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.1305, allocations: 6.655 MB / 443.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.131, allocations: 51.75 kB / 443.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.131, allocations: 16 kB / 443.1 MB, free: 2.832 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.0002782/0.1313, allocations: 188.4 kB / 443.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.1314, allocations: 63.69 kB / 443.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1315, allocations: 60.75 kB / 443.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1315, allocations: 4 kB / 443.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1315, allocations: 3.938 kB / 443.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1315, allocations: 3.984 kB / 443.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.1321, allocations: 493.1 kB / 443.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1321, allocations: 0 / 443.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1323, allocations: 27.98 kB / 444 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.1327, allocations: 163.3 kB / 444.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.1328, allocations: 8 kB / 444.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1786/0.3114, allocations: 6.35 MB / 450.5 MB, free: 25.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3114, allocations: 2.188 kB / 450.5 MB, free: 25.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.3124, allocations: 0.4989 MB / 451 MB, free: 25.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.3126, allocations: 159.3 kB / 451.1 MB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.3126, allocations: 8.062 kB / 451.1 MB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3129, allocations: 38.75 kB / 451.2 MB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.3131, allocations: 53.81 kB / 451.2 MB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.3131, allocations: 11.94 kB / 451.2 MB, free: 25.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003769/0.3135, allocations: 358.3 kB / 451.6 MB, free: 25.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3135, allocations: 0.7812 kB / 451.6 MB, free: 25.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007992/0.3143, allocations: 174 kB / 451.8 MB, free: 25.62 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * 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.001478/0.3157, allocations: 438.8 kB / 452.2 MB, free: 25.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3168, allocations: 0.7829 MB / 453 MB, free: 25.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3168, allocations: 0 / 453 MB, free: 25.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.3173, allocations: 0.6415 MB / 453.6 MB, free: 24.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.3179, allocations: 122.3 kB / 453.7 MB, free: 24.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3197, allocations: 1.009 MB / 454.7 MB, free: 24.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3199, allocations: 0.8624 MB / 455.6 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.32, allocations: 33.28 kB / 455.6 MB, free: 23.43 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.32, allocations: 0 / 455.6 MB, free: 23.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01873/0.3388, allocations: 14.71 MB / 470.3 MB, free: 18.74 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/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: 9.079870616085827]