Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007916/0.0007917, allocations: 103.6 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.169e-05, allocations: 4 kB / 343.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.08993, allocations: 50.41 MB / 394.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2919/0.3819, allocations: 84.02 MB / 478.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.3821, allocations: 75.8 kB / 478.3 MB, free: 3.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03122/0.4134, allocations: 11.35 MB / 489.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4134, allocations: 0 / 489.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.4134, allocations: 19.98 kB / 489.7 MB, free: 8.07 MB / 362.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.001166/0.4146, allocations: 0.7869 MB / 490.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4146, allocations: 8.031 kB / 490.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.4148, allocations: 67.25 kB / 490.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.4154, allocations: 401.7 kB / 491 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.4154, allocations: 29 kB / 491 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.4155, allocations: 36 kB / 491 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.4162, allocations: 430.3 kB / 491.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4162, allocations: 0 / 491.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.4162, allocations: 16 kB / 491.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4163, allocations: 19.95 kB / 491.5 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.4168, allocations: 291 kB / 491.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.4192, allocations: 1.745 MB / 493.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.4197, allocations: 351.1 kB / 493.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.42, allocations: 182.5 kB / 494 MB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.4201, allocations: 11.92 kB / 494 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.4205, allocations: 254.3 kB / 494.3 MB, free: 3.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.4205, allocations: 0 / 494.3 MB, free: 3.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009165/0.4214, allocations: 457.1 kB / 494.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.4215, allocations: 199.8 kB / 494.9 MB, free: 2.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.422, allocations: 439.1 kB / 495.4 MB, free: 2.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.4221, allocations: 37.7 kB / 495.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.4222, allocations: 256.4 kB / 495.6 MB, free: 1.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.4223, allocations: 118.3 kB / 495.8 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.4224, allocations: 8 kB / 495.8 MB, free: 1.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4225, allocations: 358.8 kB / 496.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.4227, allocations: 112.9 kB / 496.2 MB, free: 1.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.423, allocations: 201.2 kB / 496.4 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.4232, allocations: 125.5 kB / 496.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4232, allocations: 0 / 496.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006844/0.4239, allocations: 453.4 kB / 497 MB, free: 392 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4239, allocations: 4 kB / 497 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4239, allocations: 0 / 497 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004795/0.4244, allocations: 167.3 kB / 497.2 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.4247, allocations: 43.97 kB / 497.2 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.429, allocations: 5.939 MB / 0.4913 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.4294, allocations: 55.8 kB / 0.4914 GB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.4295, allocations: 12 kB / 0.4914 GB, free: 9.617 MB / 378.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 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete 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.0001366/0.4296, allocations: 148.2 kB / 0.4916 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.4297, allocations: 47.44 kB / 0.4916 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/0.4306, allocations: 0.4892 MB / 0.4921 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4307, allocations: 4 kB / 0.4921 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.4307, allocations: 128 / 0.4921 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4307, allocations: 3.984 kB / 0.4921 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.4312, allocations: 0.5048 MB / 0.4926 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4312, allocations: 4 kB / 0.4926 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.4314, allocations: 31.92 kB / 0.4926 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.4318, allocations: 147.3 kB / 0.4928 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.4318, allocations: 8 kB / 0.4928 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/0.4361, allocations: 5.785 MB / 0.4984 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4362, allocations: 0 / 0.4984 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.437, allocations: 499.2 kB / 0.4989 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.4372, allocations: 172.3 kB / 0.4991 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.4373, allocations: 12.06 kB / 0.4991 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.4376, allocations: 35.97 kB / 0.4991 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4377, allocations: 55.91 kB / 0.4991 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.4377, allocations: 11.94 kB / 0.4992 GB, free: 1.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004086/0.4382, allocations: 361.1 kB / 0.4995 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4382, allocations: 0 / 0.4995 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007074/0.4389, allocations: 179.8 kB / 0.4997 GB, free: 492 kB / 378.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,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * 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.0008536/0.4397, allocations: 389.8 kB / 0.5 GB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009226/0.4407, allocations: 0.7958 MB / 0.5008 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4407, allocations: 0 / 0.5008 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.4413, allocations: 0.6466 MB / 0.5015 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.4417, allocations: 109.8 kB / 0.5016 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.4432, allocations: 0.6922 MB / 0.5022 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.4435, allocations: 0.8748 MB / 0.5031 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.4437, allocations: 55.44 kB / 0.5031 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.812e-05/0.4438, allocations: 31.44 kB / 0.5032 GB, free: 12.85 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4438, allocations: 0 / 0.5032 GB, free: 12.85 MB / 394.7 MB Notification: Performance of Templates: time 0.01319/0.457, allocations: 8.6 MB / 0.5116 GB, free: 4.328 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches