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.001244/0.001243, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.001026/0.001026, allocations: 90.3 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.336e-05, allocations: 8 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08277/0.08279, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/0.37, allocations: 83.36 MB / 470.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.3702, allocations: 76.7 kB / 470.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02996/0.4002, allocations: 11.24 MB / 482.1 MB, free: 152 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4003, allocations: 0 / 482.1 MB, free: 152 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.4003, allocations: 19.98 kB / 482.2 MB, free: 132 kB / 346.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.001364/0.4017, allocations: 0.7869 MB / 482.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4018, allocations: 8.031 kB / 482.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.4019, allocations: 67.25 kB / 483 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.4025, allocations: 403.8 kB / 483.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4025, allocations: 16.16 kB / 483.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.4026, allocations: 24 kB / 483.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004988/0.4031, allocations: 273.5 kB / 483.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.4037, allocations: 360.8 kB / 484.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4038, allocations: 4 kB / 484.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.4038, allocations: 7.953 kB / 484.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.4038, allocations: 12 kB / 484.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.4062, allocations: 1.662 MB / 485.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.4067, allocations: 341.1 kB / 486.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.407, allocations: 161.8 kB / 486.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.407, allocations: 4 kB / 486.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.4074, allocations: 242.2 kB / 486.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.4074, allocations: 0 / 486.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008638/0.4083, allocations: 421.4 kB / 486.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.4084, allocations: 191.9 kB / 487.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.4088, allocations: 409.1 kB / 487.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.4089, allocations: 33.7 kB / 487.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.4091, allocations: 260.3 kB / 487.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.402e-05/0.4092, allocations: 118.3 kB / 487.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.4092, allocations: 0 / 487.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4093, allocations: 350.9 kB / 488.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.4095, allocations: 108.9 kB / 488.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.4098, allocations: 200.3 kB / 488.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.41, allocations: 105.6 kB / 488.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.41, allocations: 0 / 488.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006344/0.4106, allocations: 417.5 kB / 489 MB, free: 8.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4106, allocations: 8 kB / 489 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4107, allocations: 0 / 489 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/0.4111, allocations: 151.3 kB / 489.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.4114, allocations: 51.91 kB / 489.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.4157, allocations: 5.728 MB / 495 MB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.4161, allocations: 55.77 kB / 495 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.4162, allocations: 8 kB / 495 MB, free: 2.387 MB / 362.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.0001404/0.4163, allocations: 127.1 kB / 495.2 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.4164, allocations: 47.44 kB / 495.2 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008601/0.4172, allocations: 457.4 kB / 495.7 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4173, allocations: 4 kB / 495.7 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.4173, allocations: 0 / 495.7 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4173, allocations: 3.984 kB / 495.7 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.4178, allocations: 441.7 kB / 496.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4178, allocations: 0 / 496.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.4179, allocations: 35.84 kB / 496.1 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.4183, allocations: 151.5 kB / 496.3 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.4184, allocations: 0 / 496.3 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004025/0.4224, allocations: 5.559 MB / 0.4901 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4224, allocations: 0 / 0.4901 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.4233, allocations: 475.3 kB / 0.4905 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.4235, allocations: 164.4 kB / 0.4907 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.4236, allocations: 4 kB / 0.4907 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.4239, allocations: 31.97 kB / 0.4907 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4241, allocations: 59.84 kB / 0.4908 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.4241, allocations: 12 kB / 0.4908 GB, free: 10.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003518/0.4245, allocations: 322.8 kB / 0.4911 GB, free: 9.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4245, allocations: 0 / 0.4911 GB, free: 9.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007803/0.4253, allocations: 163.7 kB / 0.4913 GB, free: 9.797 MB / 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.0009053/0.4262, allocations: 363.9 kB / 0.4916 GB, free: 9.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009438/0.4271, allocations: 0.7371 MB / 0.4923 GB, free: 8.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4271, allocations: 0 / 0.4923 GB, free: 8.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.4277, allocations: 0.6122 MB / 0.4929 GB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.4282, allocations: 77.69 kB / 0.493 GB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.4298, allocations: 0.6711 MB / 0.4936 GB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.4303, allocations: 0.879 MB / 0.4945 GB, free: 6.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.4305, allocations: 51.28 kB / 0.4946 GB, free: 6.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.4306, allocations: 31.44 kB / 0.4946 GB, free: 6.328 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4307, allocations: 0 / 0.4946 GB, free: 6.328 MB / 378.7 MB Notification: Performance of Templates: time 0.01255/0.4432, allocations: 7.703 MB / 0.5021 GB, free: 14.68 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