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.001186/0.001186, 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.001283/0.001283, 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.457/1.457, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001285/0.001285, allocations: 60.3 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09783, 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.005324/0.1032, allocations: 3.934 MB / 332.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1057, allocations: 1.349 MB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.106, allocations: 11.94 kB / 334 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008005/0.1069, allocations: 254.8 kB / 334.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005787/0.1074, allocations: 250.3 kB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.1081, allocations: 263.4 kB / 334.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.1089, allocations: 0.7163 MB / 335.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.1091, allocations: 168.8 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.1095, allocations: 275 kB / 335.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.1098, allocations: 302.7 kB / 336.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.1099, allocations: 48 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.1101, allocations: 95.95 kB / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1103, allocations: 139.5 kB / 336.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.1105, allocations: 302.4 kB / 336.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.1112, allocations: 0.7046 MB / 337.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1112, allocations: 0 / 337.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1112, allocations: 7.938 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.1113, 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.001551/0.1128, allocations: 0.9451 MB / 338.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1129, allocations: 8.031 kB / 338.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.113, allocations: 68.19 kB / 338.5 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.1136, allocations: 406.8 kB / 338.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.1136, allocations: 41.36 kB / 338.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.1137, allocations: 40.12 kB / 339 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.1144, allocations: 437.5 kB / 339.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1144, allocations: 3.984 kB / 339.4 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.1144, allocations: 20 kB / 339.4 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1145, allocations: 12 kB / 339.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.115, allocations: 311.8 kB / 339.8 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.1173, allocations: 1.691 MB / 341.4 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.1179, allocations: 371 kB / 341.8 MB, free: 6.391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.1183, allocations: 192.5 kB / 342 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.1183, allocations: 4 kB / 342 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004424/0.1188, allocations: 262.3 kB / 342.3 MB, free: 5.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.1188, allocations: 4 kB / 342.3 MB, free: 5.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.00213/0.1209, allocations: 1.009 MB / 343.3 MB, free: 4.805 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.121, allocations: 191.9 kB / 343.5 MB, free: 4.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.1216, allocations: 0.494 MB / 343.9 MB, free: 4.066 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.1216, allocations: 37.7 kB / 344 MB, free: 4.023 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1218, allocations: 256.4 kB / 344.2 MB, free: 3.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.1219, allocations: 118.4 kB / 344.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.1221, allocations: 82.06 kB / 344.4 MB, free: 3.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1222, allocations: 358.8 kB / 344.8 MB, free: 3.207 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1225, allocations: 116.8 kB / 344.9 MB, free: 3.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.1228, allocations: 217.3 kB / 345.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.1233, allocations: 269.3 kB / 345.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1233, allocations: 0 / 345.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008441/0.1241, allocations: 480.7 kB / 345.8 MB, free: 2.082 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1242, allocations: 8 kB / 345.8 MB, free: 2.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1242, allocations: 0 / 345.8 MB, free: 2.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.1247, allocations: 155.3 kB / 346 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.1249, allocations: 52 kB / 346 MB, free: 1.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005623/0.1306, allocations: 6.655 MB / 352.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.131, allocations: 63.59 kB / 352.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.1311, allocations: 8 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.0002977/0.1314, allocations: 192.1 kB / 353 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.1315, allocations: 59.31 kB / 353 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.1316, allocations: 64.69 kB / 353.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1316, allocations: 4 kB / 353.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1316, allocations: 0 / 353.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1316, allocations: 4 kB / 353.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.1322, allocations: 489.1 kB / 353.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1322, allocations: 0 / 353.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.1324, allocations: 31.92 kB / 353.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.1328, allocations: 163.2 kB / 353.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1328, allocations: 4 kB / 353.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004958/0.1378, allocations: 6.355 MB / 360.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1378, allocations: 0 / 360.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1389, allocations: 0.5125 MB / 360.6 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.1391, allocations: 160.3 kB / 360.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.1392, allocations: 4 kB / 360.8 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.1394, allocations: 35.97 kB / 360.8 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.1396, allocations: 51.86 kB / 360.9 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.1396, allocations: 16 kB / 360.9 MB, free: 1.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.1401, allocations: 359.1 kB / 361.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1401, allocations: 0 / 361.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007612/0.1408, allocations: 167.8 kB / 361.4 MB, free: 1.27 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.0009847/0.1418, allocations: 430.1 kB / 361.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1429, allocations: 0.8031 MB / 362.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.143, allocations: 0 / 362.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.1437, allocations: 0.6587 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.0005523/0.1442, allocations: 113.7 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.001859/0.1461, allocations: 0.976 MB / 364.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.1465, allocations: 0.8634 MB / 365.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.1467, allocations: 44.17 kB / 365.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.1468, allocations: 39.42 kB / 365.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1468, allocations: 0 / 365.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01521/0.162, allocations: 9.521 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 gbode -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