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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 95.95 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 201.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 247.5 MB, free: 11.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.000266, allocations: 8 kB / 308.4 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 51.52 MB / 359.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004537/0.1075, allocations: 3.62 MB / 363.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.1106, allocations: 1.57 MB / 365.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00054/0.1111, allocations: 11.94 kB / 365.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.1121, allocations: 227.2 kB / 365.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009144/0.113, allocations: 262.6 kB / 365.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.1138, allocations: 230.9 kB / 365.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009367/0.1147, allocations: 0.7044 MB / 366.5 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.115, allocations: 149.7 kB / 366.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.1156, allocations: 246.9 kB / 366.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000434/0.116, allocations: 274.7 kB / 367.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.78e-05/0.1161, allocations: 24 kB / 367.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.1164, allocations: 67.97 kB / 367.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1165, allocations: 123.5 kB / 367.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.1168, allocations: 292.2 kB / 367.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.1174, allocations: 0.5103 MB / 368.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1174, allocations: 0 / 368.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.1174, allocations: 4 kB / 368.2 MB, free: 4.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.509e-05/0.1175, allocations: 3.938 kB / 368.2 MB, free: 4.98 MB / 302.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.001584/0.119, allocations: 0.8558 MB / 369.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1191, allocations: 12.03 kB / 369.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.1193, allocations: 84.17 kB / 369.1 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.1199, allocations: 414.8 kB / 369.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.12, allocations: 29.38 kB / 369.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.12, allocations: 40.12 kB / 369.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.1208, allocations: 449.5 kB / 370.1 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1208, allocations: 0 / 370.1 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.1209, allocations: 16 kB / 370.1 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.1209, allocations: 12 kB / 370.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.1215, allocations: 311.8 kB / 370.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.124, allocations: 1.73 MB / 372.1 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.1247, allocations: 379 kB / 372.5 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.1251, allocations: 184.8 kB / 372.7 MB, free: 288 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.1251, allocations: 8 kB / 372.7 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1785/0.3037, allocations: 254 kB / 372.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 5.079e-06/0.3037, allocations: 0.5938 kB / 372.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002623/0.3063, allocations: 1.03 MB / 374 MB, free: 18.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3064, allocations: 189.4 kB / 374.1 MB, free: 18.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/0.3072, allocations: 0.5101 MB / 374.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.3073, allocations: 36.41 kB / 374.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.3075, allocations: 257.7 kB / 374.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3076, allocations: 123.5 kB / 375.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.3077, allocations: 40.42 kB / 375.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.3078, allocations: 359.5 kB / 375.4 MB, free: 18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.3081, allocations: 121.3 kB / 375.6 MB, free: 18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.3085, allocations: 214.9 kB / 375.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.309, allocations: 276.7 kB / 376 MB, free: 17.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3091, allocations: 0 / 376 MB, free: 17.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009475/0.31, allocations: 489.7 kB / 376.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.3101, allocations: 5.781 kB / 376.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3101, allocations: 0.75 kB / 376.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.3106, allocations: 156.2 kB / 376.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.3109, allocations: 47.78 kB / 376.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/0.3148, allocations: 5.961 MB / 382.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.3153, allocations: 61.95 kB / 382.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3153, allocations: 18.19 kB / 382.8 MB, free: 11.95 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.0002575/0.3156, allocations: 187.4 kB / 383 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/0.3157, allocations: 58.06 kB / 383 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.3158, allocations: 66.25 kB / 383.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3158, allocations: 5.062 kB / 383.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3158, allocations: 0 / 383.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.3159, allocations: 3.438 kB / 383.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.3165, allocations: 494.2 kB / 383.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3165, allocations: 0 / 383.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.3166, allocations: 26.83 kB / 383.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/0.3171, allocations: 162 kB / 383.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.3171, allocations: 11.58 kB / 383.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.3207, allocations: 5.798 MB / 389.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3207, allocations: 0 / 389.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3217, allocations: 0.515 MB / 390.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.3219, allocations: 164.8 kB / 390.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.322, allocations: 7.703 kB / 390.2 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.3223, allocations: 38.02 kB / 390.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.3225, allocations: 50.41 kB / 390.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.3225, allocations: 18.03 kB / 390.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004957/0.323, allocations: 371.2 kB / 390.7 MB, free: 5.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.323, allocations: 4 kB / 390.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008047/0.3238, allocations: 169.2 kB / 390.9 MB, free: 5.035 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.001015/0.3249, allocations: 426.7 kB / 391.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.326, allocations: 0.8102 MB / 392.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.326, allocations: 5.312 kB / 392.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.3266, allocations: 0.6528 MB / 392.8 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.3273, allocations: 113.5 kB / 392.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.3294, allocations: 1.209 MB / 394.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3298, allocations: 0.8795 MB / 395 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3299, allocations: 32.56 kB / 395 MB, free: 2.207 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.33, allocations: 0 / 395 MB, free: 2.207 MB / 302.1 MB Notification: Performance of Templates: time 0.02073/0.3507, allocations: 14.83 MB / 409.8 MB, free: 10.27 MB / 318.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches