Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 86.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.674e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09014, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3133/0.4035, allocations: 81.74 MB / 444.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4038, allocations: 73.66 kB / 444.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02856/0.4324, allocations: 10.93 MB / 455.8 MB, free: 4.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4324, allocations: 4 kB / 455.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.4325, allocations: 16.2 kB / 455.8 MB, free: 4.793 MB / 330.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.001324/0.4338, allocations: 0.7896 MB / 456.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4339, allocations: 8.031 kB / 456.6 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.434, allocations: 63.25 kB / 456.7 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.4346, allocations: 398.1 kB / 457.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.4347, allocations: 16 kB / 457.1 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.4348, allocations: 31.94 kB / 457.1 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004688/0.4352, allocations: 265.2 kB / 457.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.4358, allocations: 361.3 kB / 457.7 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4358, allocations: 4 kB / 457.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.4359, allocations: 0 / 457.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4359, allocations: 8 kB / 457.8 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.4382, allocations: 1.679 MB / 459.4 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.4387, allocations: 335.8 kB / 459.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.439, allocations: 165.7 kB / 459.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.439, allocations: 4 kB / 459.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.4394, allocations: 240.8 kB / 460.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.4394, allocations: 0 / 460.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008518/0.4403, allocations: 426.1 kB / 460.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.4404, allocations: 186.9 kB / 460.8 MB, free: 476 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.4408, allocations: 414.4 kB / 461.2 MB, free: 148 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.4408, allocations: 25.7 kB / 461.2 MB, free: 116 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.441, allocations: 254.5 kB / 461.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.4411, allocations: 114.6 kB / 461.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.4411, allocations: 4 kB / 461.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4413, allocations: 357.1 kB / 461.9 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.4414, allocations: 103.9 kB / 462 MB, free: 15.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.4417, allocations: 195.8 kB / 462.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.4419, allocations: 109 kB / 462.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4419, allocations: 0 / 462.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005781/0.4425, allocations: 423.5 kB / 462.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4425, allocations: 4 kB / 462.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4425, allocations: 7.938 kB / 462.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/0.4429, allocations: 151.7 kB / 462.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.4432, allocations: 51.94 kB / 462.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.4474, allocations: 5.729 MB / 468.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.4478, allocations: 47.81 kB / 468.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.4478, allocations: 15.94 kB / 468.7 MB, free: 8.797 MB / 346.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.0001601/0.448, allocations: 119.1 kB / 468.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.4481, allocations: 51.39 kB / 468.9 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008938/0.449, allocations: 458.7 kB / 469.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.449, allocations: 4 kB / 469.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.449, allocations: 0 / 469.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.449, allocations: 0 / 469.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.4496, allocations: 439 kB / 469.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4496, allocations: 4 kB / 469.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.4497, allocations: 30.86 kB / 469.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003852/0.4501, allocations: 155 kB / 470 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.4502, allocations: 0 / 470 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003968/0.4541, allocations: 5.554 MB / 475.5 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4542, allocations: 3.953 kB / 475.5 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.4549, allocations: 468.2 kB / 476 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.4551, allocations: 164.2 kB / 476.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.4552, allocations: 3.953 kB / 476.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.4555, allocations: 35.97 kB / 476.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4556, allocations: 54.52 kB / 476.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.4556, allocations: 15.3 kB / 476.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.456, allocations: 322.9 kB / 476.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.456, allocations: 0 / 476.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007486/0.4567, allocations: 155.7 kB / 476.7 MB, free: 1.047 MB / 346.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.0008987/0.4576, allocations: 379 kB / 477.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009233/0.4586, allocations: 0.7366 MB / 477.8 MB, free: 16 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4586, allocations: 0 / 477.8 MB, free: 16 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.4592, allocations: 0.6081 MB / 478.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.4596, allocations: 82.61 kB / 478.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.4611, allocations: 0.6785 MB / 479.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.4617, allocations: 0.8738 MB / 480.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.4619, allocations: 51.28 kB / 480.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.462, allocations: 27.44 kB / 480.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.462, allocations: 0 / 480.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of Templates: time 0.01392/0.4759, allocations: 7.712 MB / 487.8 MB, free: 6.074 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches