Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 112.9 kB / 17.82 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 208.6 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.648/1.648, allocations: 230.4 MB / 250 MB, free: 9.066 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.84 kB / 367.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 53.32 MB / 420.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006096/0.32, allocations: 4.001 MB / 424.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.3235, allocations: 1.632 MB / 426.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.3241, allocations: 4 kB / 426.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3251, allocations: 250.8 kB / 426.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.3262, allocations: 302.2 kB / 426.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.3271, allocations: 266.7 kB / 427.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.3283, allocations: 0.7163 MB / 427.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.3286, allocations: 132.9 kB / 428 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.3292, allocations: 283 kB / 428.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005217/0.3297, allocations: 310.7 kB / 428.5 MB, free: 444 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.875e-05/0.3298, allocations: 52 kB / 428.6 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.3301, allocations: 99.97 kB / 428.7 MB, free: 292 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.3303, allocations: 155.4 kB / 428.8 MB, free: 136 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.3307, allocations: 298.5 kB / 429.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3319, allocations: 0.7233 MB / 429.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3319, allocations: 0 / 429.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3319, allocations: 0 / 429.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3319, allocations: 4 kB / 429.9 MB, free: 15.11 MB / 350.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.002031/0.3339, allocations: 0.9641 MB / 430.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.334, allocations: 8.031 kB / 430.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.3343, allocations: 80.5 kB / 430.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.335, allocations: 431.1 kB / 431.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.3351, allocations: 33.31 kB / 431.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.3351, allocations: 40.12 kB / 431.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/0.336, allocations: 445.6 kB / 431.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.336, allocations: 0 / 431.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.3361, allocations: 16 kB / 431.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3361, allocations: 8 kB / 431.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.3367, allocations: 315.7 kB / 432.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.3397, allocations: 1.691 MB / 433.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.3405, allocations: 335 kB / 434.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.3409, allocations: 160.2 kB / 434.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/0.3409, allocations: 4 kB / 434.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005526/0.3415, allocations: 266.4 kB / 434.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.3415, allocations: 0 / 434.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002388/0.3438, allocations: 1.013 MB / 435.6 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/0.344, allocations: 191.9 kB / 435.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.3448, allocations: 0.5057 MB / 436.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.3448, allocations: 41.64 kB / 436.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.3451, allocations: 260.7 kB / 436.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.3452, allocations: 130.9 kB / 436.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3454, allocations: 78.12 kB / 436.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.3456, allocations: 358.8 kB / 437.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.3459, allocations: 116.8 kB / 437.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.3462, allocations: 217.3 kB / 437.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.3468, allocations: 277.1 kB / 437.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3468, allocations: 4 kB / 437.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009712/0.3478, allocations: 469.2 kB / 438.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.3478, allocations: 8 kB / 438.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3479, allocations: 0 / 438.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.3485, allocations: 159.4 kB / 438.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.3487, allocations: 47.92 kB / 438.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.355, allocations: 6.648 MB / 445.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.3555, allocations: 55.78 kB / 445.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.3555, allocations: 16.06 kB / 445.1 MB, free: 14.77 MB / 366.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.0003553/0.3558, allocations: 188 kB / 445.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.356, allocations: 63.56 kB / 445.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.3561, allocations: 60.78 kB / 445.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3561, allocations: 4 kB / 445.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3561, allocations: 0 / 445.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3561, allocations: 0 / 445.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.3568, allocations: 497.2 kB / 445.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3568, allocations: 8 kB / 445.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3569, allocations: 27.97 kB / 446 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.3574, allocations: 159.3 kB / 446.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.3574, allocations: 11.98 kB / 446.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005816/0.3632, allocations: 6.371 MB / 452.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3632, allocations: 0 / 452.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.3644, allocations: 0.501 MB / 453 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.3646, allocations: 164.6 kB / 453.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.3647, allocations: 12 kB / 453.2 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.365, allocations: 31.97 kB / 453.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.3651, allocations: 51.94 kB / 453.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.3652, allocations: 11.98 kB / 453.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004827/0.3657, allocations: 367.1 kB / 453.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 0 / 453.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008623/0.3665, allocations: 167.8 kB / 453.8 MB, free: 5.43 MB / 366.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.001739/0.3683, allocations: 439.3 kB / 454.2 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.3698, allocations: 0.7917 MB / 455 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3698, allocations: 0 / 455 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009186/0.3707, allocations: 0.6352 MB / 455.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.3715, allocations: 114.8 kB / 455.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.3739, allocations: 0.9857 MB / 456.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.3746, allocations: 0.875 MB / 457.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.3748, allocations: 52.14 kB / 457.7 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.3749, allocations: 31.44 kB / 457.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3749, allocations: 0 / 457.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of Templates: time 0.02154/0.3965, allocations: 9.742 MB / 467.5 MB, free: 7.875 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches