Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 165.7 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 177.1 MB / 204.7 MB, free: 8.855 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 61.25 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.108, allocations: 53.4 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006427/0.1144, allocations: 3.662 MB / 382.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.1177, allocations: 1.562 MB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.118, allocations: 7.938 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008772/0.1189, allocations: 250.7 kB / 384.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007264/0.1196, allocations: 306.2 kB / 384.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.1203, allocations: 278.7 kB / 385 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000844/0.1211, allocations: 0.7357 MB / 385.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.1214, allocations: 109.5 kB / 385.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.1218, allocations: 295 kB / 386.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.1222, allocations: 274.8 kB / 386.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.179e-05/0.1223, allocations: 52 kB / 386.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.1225, allocations: 111.9 kB / 386.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1227, allocations: 143.5 kB / 386.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.123, allocations: 246.8 kB / 386.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008676/0.1238, allocations: 0.7274 MB / 387.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1238, allocations: 4 kB / 387.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1238, allocations: 3.938 kB / 387.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1238, allocations: 0 / 387.6 MB, free: 6.691 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.001658/0.1255, allocations: 0.8849 MB / 388.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1255, allocations: 15.98 kB / 388.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.1258, allocations: 76.52 kB / 388.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.1263, allocations: 368.2 kB / 389 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.1264, allocations: 29.38 kB / 389 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.1264, allocations: 36.38 kB / 389 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.1272, allocations: 0.5349 MB / 389.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1273, allocations: 0 / 389.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.1273, allocations: 16 kB / 389.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.1273, allocations: 12 kB / 389.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000627/0.1279, allocations: 311.8 kB / 389.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.1303, allocations: 1.494 MB / 391.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.1309, allocations: 323.1 kB / 391.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.1312, allocations: 165.1 kB / 391.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1312, allocations: 4 kB / 391.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/0.1318, allocations: 373.1 kB / 392.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.1318, allocations: 0 / 392.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002061/0.1338, allocations: 0.7207 MB / 393 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.1339, allocations: 162.2 kB / 393.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.1345, allocations: 493.9 kB / 393.6 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.1346, allocations: 37.7 kB / 393.6 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.1348, allocations: 260.6 kB / 393.9 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.1349, allocations: 131.1 kB / 394 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.135, allocations: 78.19 kB / 394.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1352, allocations: 362.5 kB / 394.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1355, allocations: 125 kB / 394.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.1359, allocations: 337.5 kB / 394.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.1364, allocations: 273.1 kB / 395.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1364, allocations: 0 / 395.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008228/0.1372, allocations: 481 kB / 395.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1372, allocations: 4 kB / 395.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1372, allocations: 3.984 kB / 395.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/0.1377, allocations: 163.4 kB / 395.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.1379, allocations: 51.84 kB / 395.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.1431, allocations: 6.119 MB / 402 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.1435, allocations: 56 kB / 402 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.1435, allocations: 12 kB / 402 MB, free: 7.441 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.0002607/0.1438, allocations: 191.7 kB / 402.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.1439, allocations: 51.67 kB / 402.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.1449, allocations: 0.4931 MB / 402.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1449, allocations: 7.938 kB / 402.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1449, allocations: 0 / 402.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1449, allocations: 7.984 kB / 402.8 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.1454, allocations: 349 kB / 403.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1454, allocations: 48 / 403.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1455, allocations: 39.89 kB / 403.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/0.1459, allocations: 155.3 kB / 403.3 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.1459, allocations: 11.98 kB / 403.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004983/0.1509, allocations: 5.836 MB / 409.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1509, allocations: 0 / 409.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.1519, allocations: 0.5034 MB / 409.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.1521, allocations: 83.67 kB / 409.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.1522, allocations: 12 kB / 409.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.1525, allocations: 31.97 kB / 409.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.1526, allocations: 51.91 kB / 409.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.1526, allocations: 15.98 kB / 409.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004176/0.153, allocations: 351.1 kB / 410.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.153, allocations: 4 kB / 410.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00077/0.1538, allocations: 175.7 kB / 410.4 MB, free: 14.59 MB / 382.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.00165/0.1555, allocations: 478.1 kB / 410.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.1566, allocations: 0.7834 MB / 411.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1566, allocations: 0 / 411.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.1574, allocations: 0.6353 MB / 412.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.1579, allocations: 104.8 kB / 412.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1599, allocations: 0.9903 MB / 413.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1602, allocations: 267.4 kB / 413.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.1604, allocations: 47.33 kB / 413.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.1605, allocations: 32.5 kB / 413.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1605, allocations: 0 / 413.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of Templates: time 0.01875/0.1792, allocations: 9.055 MB / 422.8 MB, free: 2.324 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.866495057940483]