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.001081/0.001081, allocations: 115.6 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 204 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 63.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2714, allocations: 50.54 MB / 410 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004953/0.2764, allocations: 3.989 MB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.279, allocations: 1.613 MB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.2793, allocations: 11.94 kB / 415.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007161/0.28, allocations: 250.8 kB / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006703/0.2807, allocations: 302.1 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.2813, allocations: 263 kB / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007375/0.2821, allocations: 0.7202 MB / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.2824, allocations: 180.9 kB / 417.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.2828, allocations: 282.9 kB / 417.5 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.2831, allocations: 302.8 kB / 417.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.2832, allocations: 48 kB / 417.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2835, allocations: 111.9 kB / 418 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.2836, allocations: 147.4 kB / 418.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.2839, allocations: 298.4 kB / 418.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.2846, allocations: 0.7234 MB / 419.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2847, allocations: 4 kB / 419.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2847, allocations: 0 / 419.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.2847, allocations: 0 / 419.1 MB, free: 8.297 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.001529/0.2862, allocations: 0.9641 MB / 420.1 MB, free: 7.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2863, allocations: 12.02 kB / 420.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.2865, allocations: 76.52 kB / 420.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.287, allocations: 439.1 kB / 420.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.2871, allocations: 29.38 kB / 420.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.2871, allocations: 40.12 kB / 420.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/0.2878, allocations: 441.5 kB / 421.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2879, allocations: 3.938 kB / 421.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.2879, allocations: 23.98 kB / 421.2 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2879, allocations: 8 kB / 421.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.2885, allocations: 311.8 kB / 421.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.2908, allocations: 1.691 MB / 423.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.2915, allocations: 367 kB / 423.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.2918, allocations: 184.8 kB / 423.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2919, allocations: 4 kB / 423.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.2923, allocations: 262.4 kB / 424 MB, free: 3.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.2923, allocations: 0 / 424 MB, free: 3.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002078/0.2944, allocations: 1.017 MB / 425 MB, free: 2.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.2945, allocations: 191.9 kB / 425.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.2951, allocations: 0.5096 MB / 425.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.2951, allocations: 33.7 kB / 425.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.2953, allocations: 264.8 kB / 426 MB, free: 1.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.2954, allocations: 134.9 kB / 426.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2956, allocations: 78.12 kB / 426.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2957, allocations: 358.8 kB / 426.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.296, allocations: 116.8 kB / 426.6 MB, free: 388 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.2963, allocations: 217.2 kB / 426.8 MB, free: 136 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.2968, allocations: 273 kB / 427.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2968, allocations: 0 / 427.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007919/0.2976, allocations: 485.3 kB / 427.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2976, allocations: 7.984 kB / 427.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2976, allocations: 0 / 427.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.2983, allocations: 159.4 kB / 427.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.2986, allocations: 47.97 kB / 427.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005155/0.3037, allocations: 6.648 MB / 434.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.3041, allocations: 55.69 kB / 434.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3041, allocations: 16 kB / 434.5 MB, free: 7.871 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.000236/0.3044, allocations: 192 kB / 434.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.3045, allocations: 59.62 kB / 434.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.3046, allocations: 64.72 kB / 434.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3046, allocations: 0 / 434.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3046, allocations: 0 / 434.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.3048, allocations: 160.7 kB / 435 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.3049, allocations: 12 kB / 435 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.3052, allocations: 31.97 kB / 435 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.3053, allocations: 35.95 kB / 435.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00127/0.3066, allocations: 0.5545 MB / 435.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009248/0.3075, allocations: 0.6737 MB / 436.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002417/0.3077, allocations: 127.9 kB / 436.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003877/0.3081, allocations: 371.1 kB / 436.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.3082, allocations: 0 / 436.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.3102, allocations: 1.109 MB / 437.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of SimCode: time 0.001704/0.3119, allocations: 1.474 MB / 439.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of Templates: time 0.01542/0.3274, allocations: 9.011 MB / 448.4 MB, free: 10.07 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/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