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.001646/0.001646, allocations: 113.8 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, allocations: 204 kB / 19.41 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2518, allocations: 50.54 MB / 410 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005037/0.2569, allocations: 3.982 MB / 413.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.2597, allocations: 1.617 MB / 415.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.26, allocations: 8 kB / 415.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.2608, allocations: 250.7 kB / 415.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006458/0.2614, allocations: 302.1 kB / 416.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.2621, allocations: 267.3 kB / 416.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006967/0.2628, allocations: 0.7202 MB / 417.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.2631, allocations: 174.1 kB / 417.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.2635, allocations: 283 kB / 417.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.2638, allocations: 302.7 kB / 417.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.591e-05/0.2639, allocations: 52 kB / 417.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.2642, allocations: 108 kB / 418 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.2643, allocations: 147.5 kB / 418.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.2647, allocations: 302.5 kB / 418.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008209/0.2655, allocations: 0.724 MB / 419.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2655, allocations: 0 / 419.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2655, allocations: 0 / 419.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2655, allocations: 0 / 419.1 MB, free: 8.477 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.001772/0.2673, allocations: 0.9452 MB / 420.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2674, allocations: 8.031 kB / 420.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.2677, allocations: 76.17 kB / 420.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.2683, allocations: 430.7 kB / 420.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.2684, allocations: 29.38 kB / 420.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.2685, allocations: 44.06 kB / 420.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.2692, allocations: 449.5 kB / 421.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2693, allocations: 4 kB / 421.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.2693, allocations: 16 kB / 421.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2693, allocations: 8 kB / 421.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.2699, allocations: 315.7 kB / 421.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.2723, allocations: 1.699 MB / 423.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.2731, allocations: 363.1 kB / 423.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.2734, allocations: 188.5 kB / 423.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.2735, allocations: 4 kB / 423.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.2739, allocations: 266.3 kB / 423.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.265e-06/0.2739, allocations: 0 / 423.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002167/0.2761, allocations: 1.014 MB / 424.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.2762, allocations: 191.9 kB / 425.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.2768, allocations: 0.5134 MB / 425.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2769, allocations: 33.7 kB / 425.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.277, allocations: 256.4 kB / 425.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.2771, allocations: 122.3 kB / 426.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2773, allocations: 78.05 kB / 426.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2774, allocations: 358.8 kB / 426.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.2777, allocations: 120.8 kB / 426.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.278, allocations: 217.2 kB / 426.8 MB, free: 352 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.2785, allocations: 273.1 kB / 427.1 MB, free: 68 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2786, allocations: 0 / 427.1 MB, free: 68 kB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000849/0.2794, allocations: 473 kB / 427.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2794, allocations: 8 kB / 427.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2795, allocations: 0 / 427.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005143/0.28, allocations: 159.4 kB / 427.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.2802, allocations: 51.91 kB / 427.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.2854, allocations: 6.64 MB / 434.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.2858, allocations: 51.77 kB / 434.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.2859, allocations: 19.98 kB / 434.5 MB, free: 8.094 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.0002742/0.2861, allocations: 193.1 kB / 434.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.2862, allocations: 55.34 kB / 434.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.2863, allocations: 60.86 kB / 434.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2864, allocations: 3.984 kB / 434.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2864, allocations: 4 kB / 434.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.2866, allocations: 160.4 kB / 434.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.654e-05/0.2866, allocations: 16 kB / 434.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.2869, allocations: 27.97 kB / 435 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.287, allocations: 31.95 kB / 435 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001301/0.2883, allocations: 0.5582 MB / 435.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009184/0.2893, allocations: 0.6684 MB / 436.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002406/0.2895, allocations: 123.9 kB / 436.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003986/0.2899, allocations: 371.1 kB / 436.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.2899, allocations: 0 / 436.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.292, allocations: 1.115 MB / 437.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of SimCode: time 0.00172/0.2938, allocations: 1.448 MB / 439.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of Templates: time 0.0152/0.309, allocations: 9.014 MB / 448.3 MB, free: 10.33 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