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.0013/0.0013, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.703/1.703, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 64.52 kB / 306.2 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.15, allocations: 50.53 MB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.007637/0.1577, allocations: 4.028 MB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.1617, allocations: 1.605 MB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00095/0.1627, allocations: 11.94 kB / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.1641, allocations: 227.2 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.1653, allocations: 258.6 kB / 362.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.1664, allocations: 235.1 kB / 363.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.1677, allocations: 0.6966 MB / 363.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.1682, allocations: 161.7 kB / 364 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007444/0.169, allocations: 255 kB / 364.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/0.1696, allocations: 290.7 kB / 364.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.1698, allocations: 32 kB / 364.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.1701, allocations: 75.98 kB / 364.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.1704, allocations: 131.4 kB / 364.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.1708, allocations: 278.5 kB / 365 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.172, allocations: 0.6773 MB / 365.7 MB, free: 5.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.172, allocations: 0 / 365.7 MB, free: 5.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.172, allocations: 0 / 365.7 MB, free: 5.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.394e-05/0.172, allocations: 4 kB / 365.7 MB, free: 5.531 MB / 302.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.00273/0.1748, allocations: 0.9452 MB / 366.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.992e-05/0.1749, allocations: 12.03 kB / 366.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.1753, allocations: 76.08 kB / 366.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/0.1762, allocations: 410.8 kB / 367.1 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.1763, allocations: 29.38 kB / 367.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.1764, allocations: 44.12 kB / 367.2 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1774, allocations: 441.5 kB / 367.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1774, allocations: 0 / 367.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.1775, allocations: 19.98 kB / 367.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1775, allocations: 12 kB / 367.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.1783, allocations: 307.8 kB / 368 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.1815, allocations: 1.726 MB / 369.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.1823, allocations: 363.9 kB / 370.1 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.1826, allocations: 191.2 kB / 370.2 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.1827, allocations: 8 kB / 370.2 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.1832, allocations: 250.5 kB / 370.5 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.1832, allocations: 0 / 370.5 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.2974/0.4806, allocations: 1.016 MB / 371.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.4808, allocations: 191.6 kB / 371.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/0.4818, allocations: 0.5034 MB / 372.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.4818, allocations: 36.11 kB / 372.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.4821, allocations: 256.7 kB / 372.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.4822, allocations: 125.8 kB / 372.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.4824, allocations: 78.23 kB / 372.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4826, allocations: 366.2 kB / 373 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.4829, allocations: 118.8 kB / 373.2 MB, free: 19.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.4833, allocations: 213.5 kB / 373.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.484, allocations: 268.7 kB / 373.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.484, allocations: 0 / 373.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001245/0.4852, allocations: 483.2 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.4853, allocations: 4.75 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4853, allocations: 1.156 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007461/0.486, allocations: 159 kB / 374.3 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.4864, allocations: 53.75 kB / 374.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/0.4909, allocations: 5.947 MB / 380.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.4914, allocations: 56.91 kB / 380.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.4915, allocations: 14.56 kB / 380.3 MB, free: 13.07 MB / 302.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.0003436/0.4918, allocations: 188.7 kB / 380.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.4919, allocations: 53 kB / 380.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.4921, allocations: 62.72 kB / 380.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4921, allocations: 16.84 kB / 380.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4921, allocations: 0 / 380.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4921, allocations: 1.875 kB / 380.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.4928, allocations: 0.4903 MB / 381.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4928, allocations: 0 / 381.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.4929, allocations: 29.84 kB / 381.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.4935, allocations: 153.9 kB / 381.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.4935, allocations: 10.27 kB / 381.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004284/0.4978, allocations: 5.797 MB / 387.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4978, allocations: 1.078 kB / 387.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.499, allocations: 0.5025 MB / 387.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.4992, allocations: 158.5 kB / 387.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.4993, allocations: 17.23 kB / 387.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.4996, allocations: 26.78 kB / 387.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.4998, allocations: 51.22 kB / 387.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.4998, allocations: 13.44 kB / 387.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005639/0.5004, allocations: 371.9 kB / 388.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5004, allocations: 4 kB / 388.3 MB, free: 6.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009873/0.5014, allocations: 168.7 kB / 388.4 MB, free: 6.176 MB / 302.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.001174/0.5026, allocations: 431.5 kB / 388.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.5038, allocations: 0.8054 MB / 389.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5038, allocations: 0 / 389.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007407/0.5046, allocations: 0.6527 MB / 390.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.5052, allocations: 106.1 kB / 390.4 MB, free: 4.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.5075, allocations: 1.159 MB / 391.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.508, allocations: 0.8635 MB / 392.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.5082, allocations: 49.69 kB / 392.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5083, allocations: 35.34 kB / 392.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5083, allocations: 0 / 392.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of Templates: time 0.02078/0.5291, allocations: 8.814 MB / 401.3 MB, free: 392 kB / 302.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