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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009556/0.0009557, allocations: 101.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002416/0.0002416, allocations: 12 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1056, allocations: 51.53 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004545/0.1102, allocations: 3.451 MB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.1128, allocations: 1.512 MB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.1131, allocations: 8 kB / 363.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.1138, allocations: 223.2 kB / 363.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.1144, allocations: 250.5 kB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.1149, allocations: 199.7 kB / 364.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.1155, allocations: 0.6654 MB / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.1158, allocations: 132.5 kB / 365.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.1162, allocations: 243 kB / 365.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.1165, allocations: 262.9 kB / 365.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.1165, allocations: 27.94 kB / 365.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.1167, allocations: 67.97 kB / 365.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.1169, allocations: 119.5 kB / 365.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.117, allocations: 129.4 kB / 365.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.1175, allocations: 0.5028 MB / 366.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1175, allocations: 0 / 366.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1176, allocations: 4 kB / 366.4 MB, free: 5.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1176, allocations: 4 kB / 366.4 MB, free: 5.598 MB / 302.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.001578/0.1192, allocations: 0.8673 MB / 367.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1192, allocations: 12.03 kB / 367.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.1195, allocations: 71.25 kB / 367.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.1201, allocations: 397.8 kB / 367.7 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.1201, allocations: 33 kB / 367.8 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.1202, allocations: 36 kB / 367.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.1209, allocations: 441.5 kB / 368.2 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1209, allocations: 8 kB / 368.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.121, allocations: 20 kB / 368.3 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.121, allocations: 8 kB / 368.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005857/0.1216, allocations: 311.8 kB / 368.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.1239, allocations: 1.726 MB / 370.3 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.1246, allocations: 367.9 kB / 370.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.1249, allocations: 188.8 kB / 370.8 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.125, allocations: 4 kB / 370.8 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.1254, allocations: 258.4 kB / 371.1 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 4.308e-06/0.1254, allocations: 4 kB / 371.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.2053/0.3307, allocations: 1.02 MB / 372.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3308, allocations: 189.1 kB / 372.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.3315, allocations: 0.506 MB / 372.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3316, allocations: 35.92 kB / 372.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3317, allocations: 255.7 kB / 373.1 MB, free: 18.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/0.3318, allocations: 125.2 kB / 373.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.3319, allocations: 8.438 kB / 373.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.332, allocations: 366 kB / 373.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.3322, allocations: 122.5 kB / 373.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.3326, allocations: 214.4 kB / 373.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.3329, allocations: 126.5 kB / 374 MB, free: 18.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3329, allocations: 0 / 374 MB, free: 18.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009243/0.3338, allocations: 475.5 kB / 374.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3339, allocations: 5.094 kB / 374.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3339, allocations: 3.375 kB / 374.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005538/0.3344, allocations: 160.9 kB / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.3347, allocations: 48.44 kB / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.3389, allocations: 5.947 MB / 380.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.3393, allocations: 61.67 kB / 380.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.3393, allocations: 13.66 kB / 380.7 MB, free: 12.59 MB / 302.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 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003225/0.3397, allocations: 190.5 kB / 380.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.3397, allocations: 52.94 kB / 381 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.3399, allocations: 60.44 kB / 381 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3399, allocations: 4.125 kB / 381 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3399, allocations: 3.953 kB / 381 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3399, allocations: 1.969 kB / 381 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006995/0.3406, allocations: 0.4973 MB / 381.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3407, allocations: 5.375 kB / 381.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3408, allocations: 29.95 kB / 381.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/0.3413, allocations: 148.3 kB / 381.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.3414, allocations: 15.66 kB / 381.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/0.3452, allocations: 5.804 MB / 387.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3453, allocations: 1.062 kB / 387.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3463, allocations: 0.504 MB / 388 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.3465, allocations: 162.9 kB / 388.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.3466, allocations: 8.594 kB / 388.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.3469, allocations: 41.52 kB / 388.3 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.347, allocations: 57 kB / 388.3 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.3471, allocations: 9.766 kB / 388.3 MB, free: 5.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004962/0.3476, allocations: 366.8 kB / 388.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3476, allocations: 0 / 388.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008902/0.3485, allocations: 172.6 kB / 388.8 MB, free: 5.676 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.3496, allocations: 426.2 kB / 389.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.3506, allocations: 0.8012 MB / 390.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3506, allocations: 0 / 390.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.3512, allocations: 0.6518 MB / 390.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.3518, allocations: 112.1 kB / 390.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3539, allocations: 1.133 MB / 392 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.3543, allocations: 0.8663 MB / 392.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.3545, allocations: 57.41 kB / 392.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.3546, allocations: 30.58 kB / 392.9 MB, free: 2.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3546, allocations: 0 / 392.9 MB, free: 2.93 MB / 302.1 MB Notification: Performance of Templates: time 0.01741/0.372, allocations: 8.459 MB / 401.4 MB, free: 88 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches