Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 108.4 kB / 18.34 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09384, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005012/0.0989, allocations: 3.935 MB / 332.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1011, allocations: 1.345 MB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.1014, allocations: 11.94 kB / 334 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.1021, allocations: 254.8 kB / 334.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.1026, allocations: 254.3 kB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.1032, allocations: 267.4 kB / 334.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.1039, allocations: 0.7125 MB / 335.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.1042, allocations: 172.8 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.1045, allocations: 275 kB / 335.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.1048, allocations: 298.8 kB / 336.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.1049, allocations: 52 kB / 336.3 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.1051, allocations: 95.91 kB / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1052, allocations: 147.5 kB / 336.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.1055, allocations: 302.3 kB / 336.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.1061, allocations: 0.7046 MB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1061, allocations: 0 / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1061, allocations: 0 / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1062, allocations: 0 / 337.5 MB, free: 10.93 MB / 286.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.001569/0.1077, allocations: 0.9452 MB / 338.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1078, allocations: 12.03 kB / 338.4 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.1079, allocations: 68.12 kB / 338.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.1084, allocations: 406.8 kB / 338.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.1085, allocations: 29.38 kB / 338.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.1085, allocations: 40.12 kB / 339 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.1093, allocations: 449.5 kB / 339.4 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1093, allocations: 0 / 339.4 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.1093, allocations: 16 kB / 339.4 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1093, allocations: 8 kB / 339.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.11, allocations: 315.8 kB / 339.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.1123, allocations: 1.691 MB / 341.4 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.113, allocations: 360 kB / 341.8 MB, free: 6.402 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.1134, allocations: 196.5 kB / 342 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.1134, allocations: 11.88 kB / 342 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.1139, allocations: 258.4 kB / 342.2 MB, free: 5.914 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.463e-06/0.1139, allocations: 0 / 342.2 MB, free: 5.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002193/0.1161, allocations: 1.013 MB / 343.3 MB, free: 4.809 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.1162, allocations: 199.8 kB / 343.5 MB, free: 4.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000791/0.117, allocations: 0.4901 MB / 343.9 MB, free: 4.066 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.1171, allocations: 37.7 kB / 344 MB, free: 4.023 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.1173, allocations: 252.4 kB / 344.2 MB, free: 3.773 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1175, allocations: 118.4 kB / 344.3 MB, free: 3.656 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.1177, allocations: 78.12 kB / 344.4 MB, free: 3.574 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1178, allocations: 362.8 kB / 344.8 MB, free: 3.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.1182, allocations: 116.8 kB / 344.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.1185, allocations: 213.2 kB / 345.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.119, allocations: 273.3 kB / 345.4 MB, free: 2.574 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.119, allocations: 0 / 345.4 MB, free: 2.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008338/0.1198, allocations: 484.8 kB / 345.8 MB, free: 2.082 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1198, allocations: 4 kB / 345.8 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1198, allocations: 0 / 345.8 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.1204, allocations: 163.3 kB / 346 MB, free: 1.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.1206, allocations: 47.92 kB / 346 MB, free: 1.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.1261, allocations: 6.643 MB / 352.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.1266, allocations: 59.62 kB / 352.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.1266, allocations: 15.94 kB / 352.8 MB, free: 10.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 ($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.000437/0.1271, allocations: 192 kB / 353 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1272, allocations: 55.38 kB / 353 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.1274, allocations: 60.75 kB / 353.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1274, allocations: 4 kB / 353.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1274, allocations: 4 kB / 353.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.1274, allocations: 3.984 kB / 353.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006579/0.1281, allocations: 489.1 kB / 353.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1281, allocations: 3.938 kB / 353.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.1282, allocations: 27.92 kB / 353.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000399/0.1286, allocations: 163.3 kB / 353.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1287, allocations: 4 kB / 353.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004708/0.1334, allocations: 6.367 MB / 360.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1334, allocations: 0 / 360.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009699/0.1344, allocations: 0.5047 MB / 360.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1346, allocations: 160.3 kB / 360.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.1347, allocations: 15.98 kB / 360.8 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.1349, allocations: 23.98 kB / 360.8 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1351, allocations: 51.92 kB / 360.9 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.1351, allocations: 12 kB / 360.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003815/0.1355, allocations: 363.1 kB / 361.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1355, allocations: 4 kB / 361.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007495/0.1363, allocations: 167.7 kB / 361.4 MB, free: 1.273 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 (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.0009346/0.1372, allocations: 432.4 kB / 361.8 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1383, allocations: 0.7991 MB / 362.6 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1383, allocations: 0 / 362.6 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006748/0.139, allocations: 0.6588 MB / 363.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.1395, allocations: 113.8 kB / 363.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1413, allocations: 0.9761 MB / 364.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1417, allocations: 0.8595 MB / 365.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.1418, allocations: 52.16 kB / 365.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.1419, allocations: 35.44 kB / 365.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1419, allocations: 3.938 kB / 365.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01571/0.1576, allocations: 9.525 MB / 374.8 MB, free: 3.66 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches