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.001236/0.001236, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4213, allocations: 50.54 MB / 409.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006169/0.4276, allocations: 3.993 MB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.4306, allocations: 1.613 MB / 414.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.4309, allocations: 11.94 kB / 414.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008616/0.4319, allocations: 242.8 kB / 415.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007175/0.4326, allocations: 305.6 kB / 415.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.4333, allocations: 263.3 kB / 415.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.4341, allocations: 0.7242 MB / 416.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.4344, allocations: 172.7 kB / 416.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.4349, allocations: 290.9 kB / 416.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.4353, allocations: 306.7 kB / 417.1 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.4354, allocations: 52 kB / 417.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.4356, allocations: 99.97 kB / 417.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.4357, allocations: 147.5 kB / 417.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.4361, allocations: 298.4 kB / 417.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007996/0.4369, allocations: 0.7137 MB / 418.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4369, allocations: 0 / 418.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4369, allocations: 0 / 418.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4369, allocations: 0 / 418.4 MB, free: 8.328 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.001839/0.4388, allocations: 0.9491 MB / 419.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4388, allocations: 16.03 kB / 419.4 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.4391, allocations: 72.17 kB / 419.5 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.4397, allocations: 426.7 kB / 419.9 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.4397, allocations: 33.36 kB / 419.9 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.4398, allocations: 44.12 kB / 420 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.4406, allocations: 445.5 kB / 420.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4406, allocations: 0 / 420.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.4406, allocations: 16 kB / 420.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.4407, allocations: 12 kB / 420.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005823/0.4413, allocations: 315.8 kB / 420.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.4438, allocations: 1.695 MB / 422.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.4445, allocations: 359.1 kB / 422.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.4448, allocations: 192.7 kB / 423 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.4449, allocations: 8 kB / 423 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.4453, allocations: 258.4 kB / 423.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.4453, allocations: 0 / 423.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002186/0.4475, allocations: 1.018 MB / 424.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.4477, allocations: 191.9 kB / 424.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.4484, allocations: 0.5096 MB / 424.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.4485, allocations: 29.7 kB / 425 MB, free: 1.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.4487, allocations: 264.4 kB / 425.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.4488, allocations: 118.4 kB / 425.4 MB, free: 1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.4489, allocations: 78.03 kB / 425.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4491, allocations: 362.8 kB / 425.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.4494, allocations: 124.8 kB / 425.9 MB, free: 444 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.4497, allocations: 213.2 kB / 426.1 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.4502, allocations: 277.1 kB / 426.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4502, allocations: 0 / 426.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008372/0.4511, allocations: 473 kB / 426.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4511, allocations: 8.094 kB / 426.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4511, allocations: 4 kB / 426.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005196/0.4516, allocations: 167.3 kB / 427 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.4519, allocations: 43.91 kB / 427.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.4572, allocations: 6.636 MB / 433.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.4576, allocations: 55.75 kB / 433.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.4576, allocations: 12 kB / 433.8 MB, free: 7.945 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.0002586/0.4579, allocations: 192 kB / 434 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.4579, allocations: 59.28 kB / 434 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.4581, allocations: 60.78 kB / 434.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4581, allocations: 8 kB / 434.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4581, allocations: 0 / 434.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.4581, allocations: 12.02 kB / 434.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.4586, allocations: 0.4932 MB / 434.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4587, allocations: 0 / 434.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.4588, allocations: 23.98 kB / 434.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.4592, allocations: 155.3 kB / 434.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.4593, allocations: 16 kB / 434.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.4644, allocations: 6.343 MB / 441.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4644, allocations: 8.062 kB / 441.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.4654, allocations: 0.4994 MB / 441.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.4656, allocations: 164.3 kB / 441.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.4657, allocations: 16 kB / 441.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.466, allocations: 27.97 kB / 441.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.4661, allocations: 59.86 kB / 441.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4662, allocations: 8 kB / 441.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004522/0.4666, allocations: 371 kB / 442.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4667, allocations: 7.938 kB / 442.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007802/0.4674, allocations: 171.7 kB / 442.4 MB, free: 14.6 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.001114/0.4686, allocations: 419 kB / 442.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.4697, allocations: 0.8154 MB / 443.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4698, allocations: 4 kB / 443.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009033/0.4707, allocations: 0.6548 MB / 444.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.4712, allocations: 116.2 kB / 444.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.4732, allocations: 0.9735 MB / 445.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.4738, allocations: 0.8634 MB / 446.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.474, allocations: 60.08 kB / 446.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.474, allocations: 27.44 kB / 446.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.474, allocations: 3.938 kB / 446.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of Templates: time 0.01795/0.492, allocations: 9.94 MB / 456.3 MB, free: 0.8047 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches