Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 204.4 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009998/0.0009997, allocations: 100.7 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002589, allocations: 11.98 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2915, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4175, allocations: 85.29 MB / 494.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4179, allocations: 75.97 kB / 494.7 MB, free: 6.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03454/0.4524, allocations: 12.2 MB / 0.495 GB, free: 9.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.4525, allocations: 0 / 0.495 GB, free: 9.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.958e-05/0.4526, allocations: 12.22 kB / 0.4951 GB, free: 9.902 MB / 378.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.002473/0.4551, allocations: 0.8965 MB / 0.4959 GB, free: 8.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.4552, allocations: 16.03 kB / 0.496 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.4556, allocations: 72.19 kB / 0.496 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4566, allocations: 430.7 kB / 0.4964 GB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.4567, allocations: 29.38 kB / 0.4965 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.4568, allocations: 40.36 kB / 0.4965 GB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4578, allocations: 442.2 kB / 0.4969 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.4579, allocations: 192 / 0.4969 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.4579, allocations: 31.86 kB / 0.4969 GB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.458, allocations: 8 kB / 0.497 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007469/0.4587, allocations: 311.8 kB / 0.4973 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.4621, allocations: 1.749 MB / 0.499 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.4629, allocations: 371.1 kB / 0.4993 GB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.4632, allocations: 188.8 kB / 0.4995 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.4632, allocations: 7.984 kB / 0.4995 GB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.4638, allocations: 262.4 kB / 0.4998 GB, free: 4.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.4638, allocations: 0 / 0.4998 GB, free: 4.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002423/0.4662, allocations: 1.044 MB / 0.5008 GB, free: 3.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.4663, allocations: 191.9 kB / 0.501 GB, free: 3.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.4672, allocations: 0.494 MB / 0.5014 GB, free: 2.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.4672, allocations: 33.7 kB / 0.5015 GB, free: 2.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.4675, allocations: 264.4 kB / 0.5017 GB, free: 2.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.4676, allocations: 122.2 kB / 0.5018 GB, free: 2.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.4676, allocations: 8 kB / 0.5018 GB, free: 2.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4678, allocations: 358.7 kB / 0.5022 GB, free: 2.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.4681, allocations: 124.8 kB / 0.5023 GB, free: 2.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.4685, allocations: 217.3 kB / 0.5025 GB, free: 1.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.469, allocations: 277.1 kB / 0.5028 GB, free: 1.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.469, allocations: 0 / 0.5028 GB, free: 1.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009279/0.47, allocations: 480.7 kB / 0.5032 GB, free: 1.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.47, allocations: 4 kB / 0.5032 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.47, allocations: 0 / 0.5032 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.4706, allocations: 171.4 kB / 0.5034 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.4708, allocations: 43.91 kB / 0.5034 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2404/0.7112, allocations: 5.942 MB / 0.5093 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.7118, allocations: 60.75 kB / 0.5093 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.7118, allocations: 13.91 kB / 0.5093 GB, free: 87.75 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 () * 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 (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.0002924/0.7121, allocations: 198.1 kB / 0.5095 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.7122, allocations: 54.84 kB / 0.5096 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.7133, allocations: 0.5052 MB / 0.5101 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.7133, allocations: 4.891 kB / 0.5101 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.7133, allocations: 1.406 kB / 0.5101 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.7133, allocations: 2.531 kB / 0.5101 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.7139, allocations: 0.504 MB / 0.5106 GB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.7139, allocations: 2.625 kB / 0.5106 GB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.7141, allocations: 32.73 kB / 0.5106 GB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/0.7145, allocations: 151.6 kB / 0.5107 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.7145, allocations: 6.344 kB / 0.5107 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.7177, allocations: 5.807 MB / 0.5164 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7177, allocations: 3.875 kB / 0.5164 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.7186, allocations: 0.5063 MB / 0.5169 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.7188, allocations: 175.6 kB / 0.5171 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.7189, allocations: 9.891 kB / 0.5171 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.7191, allocations: 36.53 kB / 0.5171 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.7193, allocations: 54.11 kB / 0.5172 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.7193, allocations: 13.44 kB / 0.5172 GB, free: 81.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004918/0.7198, allocations: 364 kB / 0.5175 GB, free: 81.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7198, allocations: 0 / 0.5175 GB, free: 81.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008179/0.7206, allocations: 180.2 kB / 0.5177 GB, free: 81.8 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) * Number of clocked states: 0 () * 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.0009186/0.7216, allocations: 452.5 kB / 0.5181 GB, free: 81.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009664/0.7226, allocations: 0.8114 MB / 0.5189 GB, free: 81.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7226, allocations: 0 / 0.5189 GB, free: 81.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.7231, allocations: 0.6691 MB / 0.5196 GB, free: 80.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.7237, allocations: 104.4 kB / 0.5197 GB, free: 80.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.7252, allocations: 1.16 MB / 0.5208 GB, free: 80.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.7254, allocations: 0.8628 MB / 0.5217 GB, free: 79.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.7256, allocations: 54.56 kB / 0.5217 GB, free: 79.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.7257, allocations: 35.09 kB / 0.5217 GB, free: 79.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7257, allocations: 0 / 0.5217 GB, free: 79.43 MB / 378.7 MB Notification: Performance of Templates: time 0.01174/0.7375, allocations: 8.754 MB / 0.5303 GB, free: 78.2 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches