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.001391/0.001391, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.00114/0.00114, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.376/1.376, allocations: 205.1 MB / 225 MB, free: 12.29 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.002087/0.002087, allocations: 59.92 kB / 281.3 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1241, allocations: 46.62 MB / 328 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005286/0.1294, allocations: 3.92 MB / 331.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.1318, allocations: 1.349 MB / 333.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.1322, allocations: 11.94 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007629/0.1329, allocations: 254.8 kB / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.1335, allocations: 246.4 kB / 333.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.1341, allocations: 267.4 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.1347, allocations: 0.7086 MB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.135, allocations: 169.1 kB / 334.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.1354, allocations: 279 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.1357, allocations: 302.7 kB / 335.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.1358, allocations: 52 kB / 335.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.136, allocations: 91.92 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1362, allocations: 143.5 kB / 335.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.1364, allocations: 302.4 kB / 336 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.1371, allocations: 0.6929 MB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1371, allocations: 4 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1371, allocations: 0 / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.128e-06/0.1371, allocations: 0 / 336.7 MB, free: 11.66 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.001507/0.1386, allocations: 0.9374 MB / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1387, allocations: 12.03 kB / 337.6 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1388, allocations: 64.19 kB / 337.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1393, allocations: 410.7 kB / 338.1 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1393, allocations: 29.38 kB / 338.1 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.1394, allocations: 44.12 kB / 338.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.1401, allocations: 441.5 kB / 338.6 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1401, allocations: 0 / 338.6 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.1401, allocations: 16 kB / 338.6 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1402, allocations: 12 kB / 338.6 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005787/0.1407, allocations: 315.8 kB / 338.9 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.1429, allocations: 1.703 MB / 340.7 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.1436, allocations: 368.3 kB / 341 MB, free: 7.117 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1439, allocations: 192.5 kB / 341.2 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.1439, allocations: 11.98 kB / 341.2 MB, free: 6.914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.1444, allocations: 262.3 kB / 341.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.1444, allocations: 0 / 341.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002072/0.1465, allocations: 1.017 MB / 342.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.1466, allocations: 191.9 kB / 342.7 MB, free: 5.293 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.1471, allocations: 0.494 MB / 343.2 MB, free: 4.785 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.1471, allocations: 33.7 kB / 343.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1473, allocations: 256.4 kB / 343.4 MB, free: 4.492 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.1474, allocations: 118.3 kB / 343.6 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1475, allocations: 78.08 kB / 343.6 MB, free: 4.293 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1477, allocations: 358.8 kB / 344 MB, free: 3.934 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.1479, allocations: 124.8 kB / 344.1 MB, free: 3.809 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.1482, allocations: 221.2 kB / 344.3 MB, free: 3.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.1487, allocations: 265.3 kB / 344.6 MB, free: 3.289 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1487, allocations: 0 / 344.6 MB, free: 3.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007836/0.1495, allocations: 480.8 kB / 345.1 MB, free: 2.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1495, allocations: 4 kB / 345.1 MB, free: 2.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1495, allocations: 4 kB / 345.1 MB, free: 2.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/0.15, allocations: 155.3 kB / 345.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1503, allocations: 47.91 kB / 345.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/0.155, allocations: 6.658 MB / 351.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.1554, allocations: 55.67 kB / 352 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.1555, allocations: 12 kB / 352 MB, free: 11.31 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.0002798/0.1558, allocations: 201.3 kB / 352.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.1558, allocations: 51.38 kB / 352.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.156, allocations: 60.77 kB / 352.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.156, allocations: 4 kB / 352.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.156, allocations: 0 / 352.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.156, allocations: 7.984 kB / 352.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.1565, allocations: 485.1 kB / 352.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.1565, allocations: 4.125 kB / 352.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1566, allocations: 31.91 kB / 352.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004179/0.1571, allocations: 155.3 kB / 353 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1571, allocations: 15.98 kB / 353 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/0.1615, allocations: 6.351 MB / 359.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1615, allocations: 0 / 359.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.1625, allocations: 0.5034 MB / 359.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.1627, allocations: 164.3 kB / 360 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.1628, allocations: 8 kB / 360 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.1631, allocations: 35.91 kB / 360 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.1632, allocations: 55.92 kB / 360.1 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.1633, allocations: 12 kB / 360.1 MB, free: 2.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003893/0.1637, allocations: 359.1 kB / 360.5 MB, free: 2.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1637, allocations: 0 / 360.5 MB, free: 2.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007605/0.1644, allocations: 163.8 kB / 360.6 MB, free: 1.996 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.00102/0.1655, allocations: 444.8 kB / 361.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.1666, allocations: 0.8069 MB / 361.9 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1666, allocations: 0 / 361.9 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006665/0.1673, allocations: 0.6588 MB / 362.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.1679, allocations: 105.8 kB / 362.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.1698, allocations: 1.021 MB / 363.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1702, allocations: 0.8673 MB / 364.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.1703, allocations: 39.42 kB / 364.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1703, allocations: 0 / 364.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of Templates: time 0.1618/0.3321, allocations: 14.65 MB / 379.2 MB, free: 52.88 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 -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