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.001394/0.001394, allocations: 117.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 204.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2293, allocations: 50.54 MB / 409.9 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005045/0.2344, allocations: 3.982 MB / 413.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.2371, allocations: 1.613 MB / 415.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.2374, allocations: 8 kB / 415.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007262/0.2382, allocations: 254.7 kB / 415.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006283/0.2388, allocations: 298.1 kB / 416.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.2394, allocations: 271 kB / 416.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007111/0.2401, allocations: 0.7202 MB / 417.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.2404, allocations: 182.1 kB / 417.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.2408, allocations: 283 kB / 417.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.2412, allocations: 302.7 kB / 417.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.2413, allocations: 52 kB / 417.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.2415, allocations: 104 kB / 418 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2416, allocations: 147.4 kB / 418.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.2419, allocations: 302.5 kB / 418.4 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.2426, allocations: 0.7201 MB / 419.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2426, allocations: 0 / 419.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2426, allocations: 0 / 419.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.2426, allocations: 4 kB / 419.1 MB, free: 8.48 MB / 334.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.00161/0.2443, allocations: 0.9452 MB / 420.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2443, allocations: 8.031 kB / 420.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.2445, allocations: 76.17 kB / 420.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.2451, allocations: 426.7 kB / 420.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.2451, allocations: 33.38 kB / 420.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.2452, allocations: 44.06 kB / 420.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.2459, allocations: 433.6 kB / 421.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.246, allocations: 4 kB / 421.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.246, allocations: 19.94 kB / 421.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.246, allocations: 8 kB / 421.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.2466, allocations: 323.7 kB / 421.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.2489, allocations: 1.691 MB / 423.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006772/0.2496, allocations: 363 kB / 423.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.25, allocations: 184.8 kB / 423.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.25, allocations: 4 kB / 423.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.2504, allocations: 262.3 kB / 423.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.2504, allocations: 0 / 423.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002146/0.2526, allocations: 1.022 MB / 424.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.2527, allocations: 191.9 kB / 425.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.2533, allocations: 0.5057 MB / 425.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.2533, allocations: 37.7 kB / 425.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.2535, allocations: 260.4 kB / 425.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.2536, allocations: 118.3 kB / 426 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.2538, allocations: 82.05 kB / 426.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2539, allocations: 358.8 kB / 426.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.2542, allocations: 116.8 kB / 426.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.2545, allocations: 221.2 kB / 426.8 MB, free: 364 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.255, allocations: 273.1 kB / 427.1 MB, free: 80 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.255, allocations: 3.938 kB / 427.1 MB, free: 76 kB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008281/0.2558, allocations: 477.1 kB / 427.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2559, allocations: 8 kB / 427.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2559, allocations: 0 / 427.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/0.2564, allocations: 159.4 kB / 427.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.2566, allocations: 47.91 kB / 427.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/0.262, allocations: 6.648 MB / 434.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.2624, allocations: 51.7 kB / 434.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.2625, allocations: 11.98 kB / 434.5 MB, free: 8.102 MB / 350.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.0002648/0.2627, allocations: 195.9 kB / 434.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.2628, allocations: 63.34 kB / 434.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.2629, allocations: 60.8 kB / 434.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.263, allocations: 4 kB / 434.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.263, allocations: 0 / 434.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.263, allocations: 3.984 kB / 434.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.2635, allocations: 0.4892 MB / 435.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2635, allocations: 4 kB / 435.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.2636, allocations: 23.98 kB / 435.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/0.2641, allocations: 163.2 kB / 435.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.2641, allocations: 8 kB / 435.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004962/0.2691, allocations: 6.355 MB / 441.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2691, allocations: 3.938 kB / 441.8 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.2701, allocations: 0.4956 MB / 442.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.2703, allocations: 164.3 kB / 442.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.2704, allocations: 15.94 kB / 442.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.2707, allocations: 27.97 kB / 442.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.2708, allocations: 55.92 kB / 442.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.2708, allocations: 16 kB / 442.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004068/0.2713, allocations: 367.1 kB / 442.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.2713, allocations: 0 / 442.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008182/0.2721, allocations: 171.7 kB / 443.1 MB, free: 14.77 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.0009864/0.2731, allocations: 424.1 kB / 443.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.2742, allocations: 0.8116 MB / 444.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2742, allocations: 0 / 444.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006896/0.2749, allocations: 0.6587 MB / 445 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.2755, allocations: 120.3 kB / 445.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.2774, allocations: 1.009 MB / 446.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.2778, allocations: 0.8634 MB / 447 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.2779, allocations: 35.44 kB / 447 MB, free: 10.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.278, allocations: 0 / 447 MB, free: 10.83 MB / 366.1 MB Notification: Performance of Templates: time 0.01643/0.2944, allocations: 14.93 MB / 462 MB, free: 11.93 MB / 382.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