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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 101.1 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007308/0.0007309, allocations: 43.92 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1754, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004187/0.1796, allocations: 3.963 MB / 377.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1815, allocations: 1.342 MB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.1819, allocations: 7.531 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006378/0.1826, allocations: 226.8 kB / 379.4 MB, free: 41.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004967/0.1831, allocations: 217.9 kB / 379.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.1836, allocations: 227.5 kB / 379.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006294/0.1842, allocations: 0.6937 MB / 380.5 MB, free: 40.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1845, allocations: 153.1 kB / 380.6 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.1848, allocations: 259.9 kB / 380.9 MB, free: 40.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.1851, allocations: 290 kB / 381.2 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.1852, allocations: 30.41 kB / 381.2 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1854, allocations: 65.83 kB / 381.3 MB, free: 40.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1855, allocations: 132.8 kB / 381.4 MB, free: 40.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.1858, allocations: 273.2 kB / 381.7 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.1863, allocations: 0.6711 MB / 382.3 MB, free: 39.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1863, allocations: 0 / 382.3 MB, free: 39.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1863, allocations: 0 / 382.3 MB, free: 39.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.1863, allocations: 3.938 kB / 382.3 MB, free: 39.55 MB / 298.7 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.00139/0.1877, allocations: 0.9411 MB / 383.3 MB, free: 38.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1878, allocations: 9.375 kB / 383.3 MB, free: 38.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1879, allocations: 69.66 kB / 383.4 MB, free: 38.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.1883, allocations: 403.6 kB / 383.7 MB, free: 38.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.1884, allocations: 33.02 kB / 383.8 MB, free: 38.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.1884, allocations: 46.69 kB / 383.8 MB, free: 38.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.189, allocations: 442.4 kB / 384.3 MB, free: 38.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.189, allocations: 1.281 kB / 384.3 MB, free: 38.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.1891, allocations: 16.22 kB / 384.3 MB, free: 38.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1891, allocations: 9.719 kB / 384.3 MB, free: 38.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.1896, allocations: 312.4 kB / 384.6 MB, free: 37.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.1916, allocations: 1.705 MB / 386.3 MB, free: 36.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.1921, allocations: 364.1 kB / 386.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.1924, allocations: 192.7 kB / 386.8 MB, free: 36.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.1925, allocations: 4.5 kB / 386.8 MB, free: 36.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.1928, allocations: 261.3 kB / 387.1 MB, free: 35.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.1928, allocations: 0 / 387.1 MB, free: 35.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001732/0.1946, allocations: 1.014 MB / 388.1 MB, free: 34.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1946, allocations: 191.9 kB / 388.3 MB, free: 34.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.195, allocations: 0.4978 MB / 388.8 MB, free: 34.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.195, allocations: 37.7 kB / 388.8 MB, free: 34.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1952, allocations: 248.5 kB / 389.1 MB, free: 33.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.1952, allocations: 126.2 kB / 389.2 MB, free: 33.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.1953, allocations: 74.14 kB / 389.3 MB, free: 33.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.1954, allocations: 358.8 kB / 389.6 MB, free: 33.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.1956, allocations: 124.8 kB / 389.7 MB, free: 33.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.1958, allocations: 209.3 kB / 389.9 MB, free: 32.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.1962, allocations: 269.3 kB / 390.2 MB, free: 32.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1962, allocations: 0 / 390.2 MB, free: 32.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006159/0.1968, allocations: 480.7 kB / 390.7 MB, free: 32.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1968, allocations: 11.94 kB / 390.7 MB, free: 32.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1969, allocations: 4.094 kB / 390.7 MB, free: 32.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.1973, allocations: 159.4 kB / 390.9 MB, free: 31.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.1975, allocations: 51.91 kB / 390.9 MB, free: 31.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.2004, allocations: 5.942 MB / 396.8 MB, free: 25.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.2007, allocations: 55.81 kB / 396.9 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.2007, allocations: 16 kB / 396.9 MB, free: 25.37 MB / 298.7 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.0001511/0.2009, allocations: 188 kB / 397.1 MB, free: 25.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.2009, allocations: 55.28 kB / 397.2 MB, free: 25.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.201, allocations: 64.75 kB / 397.2 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2011, allocations: 4 kB / 397.2 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2011, allocations: 3.938 kB / 397.2 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2011, allocations: 0 / 397.2 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.2014, allocations: 0.4892 MB / 397.7 MB, free: 24.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2014, allocations: 4.094 kB / 397.7 MB, free: 24.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.2015, allocations: 23.98 kB / 397.7 MB, free: 24.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003333/0.2019, allocations: 167.2 kB / 397.9 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.2019, allocations: 8 kB / 397.9 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.2046, allocations: 5.792 MB / 403.7 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2047, allocations: 3.938 kB / 403.7 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.2057, allocations: 1.279 MB / 405 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.2059, allocations: 160.3 kB / 405.1 MB, free: 16.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.206, allocations: 8 kB / 405.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2062, allocations: 36.16 kB / 405.2 MB, free: 16.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2064, allocations: 51.92 kB / 405.2 MB, free: 16.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.2064, allocations: 19.98 kB / 405.3 MB, free: 16.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002648/0.2067, allocations: 359.1 kB / 405.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2067, allocations: 0 / 405.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006951/0.2074, allocations: 175.7 kB / 405.8 MB, free: 15.81 MB / 298.7 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.0007636/0.2081, allocations: 431.3 kB / 406.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007736/0.2089, allocations: 0.7797 MB / 407 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2089, allocations: 8.188 kB / 407 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.2094, allocations: 0.655 MB / 407.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.2099, allocations: 110.8 kB / 407.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2114, allocations: 1.391 MB / 409.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2117, allocations: 0.867 MB / 410 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.2118, allocations: 52.16 kB / 410.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.2119, allocations: 31.44 kB / 410.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2119, allocations: 0 / 410.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of Templates: time 0.01101/0.2229, allocations: 9.132 MB / 419.2 MB, free: 2.211 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches