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.001096/0.001096, allocations: 118.2 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.001231/0.001231, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4714, allocations: 50.55 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00617/0.4776, allocations: 3.989 MB / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.4807, allocations: 1.601 MB / 414.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.481, allocations: 11.94 kB / 414.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009303/0.482, allocations: 254.8 kB / 415.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008373/0.4828, allocations: 309.6 kB / 415.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.4836, allocations: 263.3 kB / 415.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007986/0.4844, allocations: 0.7242 MB / 416.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.4848, allocations: 176.7 kB / 416.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004906/0.4853, allocations: 290.9 kB / 416.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.4857, allocations: 302.8 kB / 417.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.4857, allocations: 48 kB / 417.2 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.486, allocations: 108 kB / 417.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.4862, allocations: 143.5 kB / 417.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.4866, allocations: 302.5 kB / 417.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.4874, allocations: 0.7136 MB / 418.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4874, allocations: 4 kB / 418.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4874, allocations: 0 / 418.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.4874, allocations: 0 / 418.5 MB, free: 8.363 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.001659/0.4891, allocations: 0.9491 MB / 419.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4891, allocations: 8.031 kB / 419.4 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.4894, allocations: 76.17 kB / 419.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.4901, allocations: 430.6 kB / 419.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.4901, allocations: 29.38 kB / 419.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.4902, allocations: 40.12 kB / 420 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.491, allocations: 441.6 kB / 420.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.491, allocations: 7.875 kB / 420.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.491, allocations: 20 kB / 420.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.4911, allocations: 8 kB / 420.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.4917, allocations: 311.8 kB / 420.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.4941, allocations: 1.695 MB / 422.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.4948, allocations: 363.1 kB / 422.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.4952, allocations: 184.8 kB / 423 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.4952, allocations: 4 kB / 423 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000467/0.4957, allocations: 270.3 kB / 423.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/0.4957, allocations: 0 / 423.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002228/0.4979, allocations: 1.018 MB / 424.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.4981, allocations: 191.9 kB / 424.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/0.4987, allocations: 0.5018 MB / 424.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.4987, allocations: 33.7 kB / 425 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.4989, allocations: 264.4 kB / 425.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4991, allocations: 118.4 kB / 425.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.4992, allocations: 82.03 kB / 425.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.4994, allocations: 358.8 kB / 425.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.4996, allocations: 120.8 kB / 425.9 MB, free: 492 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.5, allocations: 209.3 kB / 426.1 MB, free: 248 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.5005, allocations: 277.1 kB / 426.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5005, allocations: 3.938 kB / 426.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00084/0.5013, allocations: 484.9 kB / 426.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5013, allocations: 4 kB / 426.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5014, allocations: 0 / 426.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/0.5019, allocations: 163.5 kB / 427 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.5021, allocations: 43.92 kB / 427.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/0.5072, allocations: 6.652 MB / 433.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.5076, allocations: 47.66 kB / 433.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.5077, allocations: 16 kB / 433.8 MB, free: 7.98 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.0002464/0.5079, allocations: 196 kB / 434 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.508, allocations: 55.28 kB / 434 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.5081, allocations: 64.77 kB / 434.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5081, allocations: 4 kB / 434.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5081, allocations: 0 / 434.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5081, allocations: 3.984 kB / 434.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.5087, allocations: 497.1 kB / 434.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5087, allocations: 0 / 434.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.5088, allocations: 35.91 kB / 434.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.5093, allocations: 159.3 kB / 434.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.5093, allocations: 11.98 kB / 434.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005013/0.5143, allocations: 6.355 MB / 441.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5144, allocations: 0 / 441.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009887/0.5154, allocations: 0.5073 MB / 441.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.5156, allocations: 164.3 kB / 441.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.5156, allocations: 8 kB / 441.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.5159, allocations: 31.97 kB / 441.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.5161, allocations: 55.92 kB / 441.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.5161, allocations: 8 kB / 441.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004461/0.5165, allocations: 371.1 kB / 442.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5166, allocations: 3.938 kB / 442.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008075/0.5174, allocations: 159.8 kB / 442.4 MB, free: 14.64 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.001064/0.5184, allocations: 438.2 kB / 442.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.5197, allocations: 0.8077 MB / 443.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5197, allocations: 0 / 443.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007452/0.5204, allocations: 0.6587 MB / 444.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.521, allocations: 111 kB / 444.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.523, allocations: 0.9773 MB / 445.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.5236, allocations: 0.8595 MB / 446.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.5238, allocations: 56.14 kB / 446.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.5239, allocations: 35.44 kB / 446.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.034e-06/0.5239, allocations: 0 / 446.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01852/0.5424, allocations: 9.669 MB / 456 MB, free: 1.125 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