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.001369/0.001369, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.001398/0.001398, allocations: 157.2 kB / 24.48 MB, free: 3.465 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.428/1.428, allocations: 173.4 MB / 201.1 MB, free: 12.71 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.001693/0.001693, allocations: 51.28 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09204, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005716/0.09775, allocations: 3.631 MB / 375.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.1005, allocations: 1.379 MB / 376.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004212/0.101, allocations: 11.88 kB / 376.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.1019, allocations: 262.8 kB / 376.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.1027, allocations: 254.3 kB / 377.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008211/0.1035, allocations: 290.6 kB / 377.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009832/0.1045, allocations: 0.7047 MB / 378.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.1048, allocations: 109.5 kB / 378.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004891/0.1053, allocations: 291 kB / 378.5 MB, free: 420 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.1058, allocations: 274.8 kB / 378.7 MB, free: 144 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.1059, allocations: 56 kB / 378.8 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.1062, allocations: 103.9 kB / 378.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.1063, allocations: 143.5 kB / 379 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.1067, allocations: 242.8 kB / 379.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009477/0.1076, allocations: 0.7159 MB / 380 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1077, allocations: 0 / 380 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1077, allocations: 0 / 380 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.1077, allocations: 0 / 380 MB, free: 14.89 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.002323/0.11, allocations: 0.881 MB / 380.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.1101, allocations: 12.92 kB / 380.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.1103, allocations: 68.52 kB / 381 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.111, allocations: 360.2 kB / 381.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.111, allocations: 29.38 kB / 381.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.1111, allocations: 40.12 kB / 381.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008937/0.112, allocations: 0.5268 MB / 381.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.112, allocations: 0 / 381.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.112, allocations: 16 kB / 381.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.112, allocations: 8 kB / 381.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.1127, allocations: 323.8 kB / 382.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.1151, allocations: 1.494 MB / 383.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.1158, allocations: 326.9 kB / 384.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.1162, allocations: 168.7 kB / 384.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.1162, allocations: 11.98 kB / 384.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005426/0.1168, allocations: 365.2 kB / 384.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.1168, allocations: 0 / 384.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002176/0.1189, allocations: 0.7081 MB / 385.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.1191, allocations: 158.2 kB / 385.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.1197, allocations: 489.8 kB / 385.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.1197, allocations: 33.7 kB / 386 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.12, allocations: 268.7 kB / 386.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1201, allocations: 126.9 kB / 386.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1202, allocations: 78.14 kB / 386.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1204, allocations: 358.8 kB / 386.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.1207, allocations: 121 kB / 386.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.1211, allocations: 341.4 kB / 387.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.1216, allocations: 281.3 kB / 387.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1216, allocations: 0 / 387.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000875/0.1225, allocations: 469.1 kB / 388 MB, free: 6.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1225, allocations: 4 kB / 388 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1225, allocations: 4 kB / 388 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/0.1231, allocations: 155.3 kB / 388.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.1233, allocations: 47.91 kB / 388.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/0.1288, allocations: 6.13 MB / 394.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.1292, allocations: 43.84 kB / 394.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.1292, allocations: 16 kB / 394.4 MB, free: 15.67 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.000275/0.1295, allocations: 203.6 kB / 394.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.1296, allocations: 51.67 kB / 394.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.1307, allocations: 497 kB / 395.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1307, allocations: 4 kB / 395.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1307, allocations: 4 kB / 395.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1307, allocations: 4.078 kB / 395.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.1311, allocations: 356.9 kB / 395.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1311, allocations: 8.125 kB / 395.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1313, allocations: 27.92 kB / 395.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.1317, allocations: 151.3 kB / 395.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.1318, allocations: 12 kB / 395.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005131/0.1369, allocations: 5.835 MB / 401.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1369, allocations: 0 / 401.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1379, allocations: 0.5114 MB / 402 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1381, allocations: 79.56 kB / 402.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.1382, allocations: 12 kB / 402.1 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.1385, allocations: 27.97 kB / 402.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.1386, allocations: 59.89 kB / 402.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.1386, allocations: 8 kB / 402.2 MB, free: 7.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004341/0.1391, allocations: 351.1 kB / 402.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1391, allocations: 0 / 402.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008063/0.1399, allocations: 175.8 kB / 402.7 MB, free: 6.832 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.001716/0.1416, allocations: 453.9 kB / 403.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.1429, allocations: 0.7873 MB / 403.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1429, allocations: 3.938 kB / 403.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.1437, allocations: 0.6509 MB / 404.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.1442, allocations: 104.7 kB / 404.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1462, allocations: 0.9706 MB / 405.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1465, allocations: 267.2 kB / 405.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.1466, allocations: 43.3 kB / 406 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.1467, allocations: 32.48 kB / 406 MB, free: 3.562 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1467, allocations: 0 / 406 MB, free: 3.562 MB / 366.1 MB Notification: Performance of Templates: time 0.01754/0.1643, allocations: 9.016 MB / 415 MB, free: 10.68 MB / 382.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 -s ida -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: 4.601096939994022]