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.001686/0.001686, allocations: 115.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 60.44 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1403, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006616/0.147, allocations: 3.991 MB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.1507, allocations: 1.616 MB / 364.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.1512, allocations: 11.94 kB / 364.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1526, allocations: 246.8 kB / 364.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.1538, allocations: 302.1 kB / 365.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.1547, allocations: 274.8 kB / 365.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.1559, allocations: 0.7201 MB / 366.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.1563, allocations: 180.8 kB / 366.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.157, allocations: 282.9 kB / 366.5 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.1576, allocations: 306.7 kB / 366.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.1578, allocations: 48 kB / 366.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.1581, allocations: 108 kB / 367 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.1583, allocations: 139.5 kB / 367.1 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.1588, allocations: 310.4 kB / 367.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1598, allocations: 0.7163 MB / 368.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1598, allocations: 0 / 368.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1598, allocations: 0 / 368.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.939e-05/0.1598, allocations: 0 / 368.1 MB, free: 4.113 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.002155/0.162, allocations: 0.9453 MB / 369.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1621, allocations: 8.031 kB / 369.1 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.1623, allocations: 80.08 kB / 369.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007418/0.1631, allocations: 418.8 kB / 369.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.1631, allocations: 29.38 kB / 369.6 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-05/0.1632, allocations: 40.12 kB / 369.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.164, allocations: 449.5 kB / 370.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.164, allocations: 4 kB / 370.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.1641, allocations: 16 kB / 370.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1641, allocations: 8 kB / 370.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.1647, allocations: 319.8 kB / 370.4 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1985/0.3632, allocations: 1.699 MB / 372.1 MB, free: 20.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008769/0.3641, allocations: 361.4 kB / 372.4 MB, free: 20.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.3645, allocations: 188.5 kB / 372.6 MB, free: 20.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.3646, allocations: 4.547 kB / 372.6 MB, free: 20.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004686/0.365, allocations: 258.2 kB / 372.9 MB, free: 20.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.365, allocations: 0 / 372.9 MB, free: 20.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002619/0.3677, allocations: 1.017 MB / 373.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.3678, allocations: 190.4 kB / 374.1 MB, free: 19.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/0.3687, allocations: 0.5056 MB / 374.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.3688, allocations: 37.06 kB / 374.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.369, allocations: 257.6 kB / 374.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.3691, allocations: 123.9 kB / 375 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.3692, allocations: 81.62 kB / 375.1 MB, free: 19.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3694, allocations: 357.5 kB / 375.4 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.3696, allocations: 122 kB / 375.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.37, allocations: 213.6 kB / 375.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.3705, allocations: 271.4 kB / 376 MB, free: 18.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3705, allocations: 2.125 kB / 376 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007928/0.3713, allocations: 485.4 kB / 376.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3713, allocations: 6.453 kB / 376.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3713, allocations: 1.188 kB / 376.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.3719, allocations: 158.5 kB / 376.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.3721, allocations: 45.67 kB / 376.7 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/0.3761, allocations: 6.645 MB / 383.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.3766, allocations: 49.02 kB / 383.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.3767, allocations: 21.48 kB / 383.4 MB, free: 11.58 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.0002926/0.377, allocations: 192.5 kB / 383.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.3771, allocations: 52.56 kB / 383.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.3772, allocations: 63.41 kB / 383.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3772, allocations: 3.188 kB / 383.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3772, allocations: 1.344 kB / 383.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3772, allocations: 5.891 kB / 383.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.3779, allocations: 498.8 kB / 384.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3779, allocations: 0 / 384.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.378, allocations: 28.44 kB / 384.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.3785, allocations: 153.3 kB / 384.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3785, allocations: 14.42 kB / 384.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00404/0.3826, allocations: 6.362 MB / 390.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3826, allocations: 7.938 kB / 390.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3837, allocations: 0.5034 MB / 391.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.3839, allocations: 152.7 kB / 391.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.384, allocations: 16.52 kB / 391.5 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.3843, allocations: 33.08 kB / 391.5 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.3844, allocations: 52.5 kB / 391.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.3845, allocations: 9.625 kB / 391.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005032/0.385, allocations: 368.3 kB / 391.9 MB, free: 4.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.385, allocations: 0 / 391.9 MB, free: 4.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009509/0.386, allocations: 172.2 kB / 392.1 MB, free: 4.145 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.001022/0.387, allocations: 422.5 kB / 392.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.3882, allocations: 0.8105 MB / 393.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3882, allocations: 4.188 kB / 393.3 MB, free: 3.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.3889, allocations: 0.6629 MB / 394 MB, free: 2.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.3895, allocations: 124.2 kB / 394.1 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3918, allocations: 0.9688 MB / 395.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3922, allocations: 0.8636 MB / 395.9 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.3925, allocations: 52.89 kB / 396 MB, free: 1.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.3926, allocations: 37 kB / 396 MB, free: 1.535 MB / 302.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3926, allocations: 0 / 396 MB, free: 1.535 MB / 302.1 MB Notification: Performance of Templates: time 0.0203/0.4129, allocations: 9.56 MB / 405.6 MB, free: 13.95 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 -s gbode -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