Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, allocations: 106.5 kB / 21.22 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 213.3 kB / 24.54 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] 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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.88 kB / 378.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2747, allocations: 53.36 MB / 432.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00464/0.2793, allocations: 2.975 MB / 435.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2809, allocations: 0.8024 MB / 435.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.2811, allocations: 11.88 kB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.2812, allocations: 55.5 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.2814, allocations: 99.11 kB / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.2818, allocations: 127.7 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.2823, allocations: 406.3 kB / 436.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.2825, allocations: 93.64 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.2828, allocations: 163.5 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.283, allocations: 163.2 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.2832, allocations: 36 kB / 437 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.2833, allocations: 40 kB / 437.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.2833, allocations: 75.77 kB / 437.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.2835, allocations: 183.1 kB / 437.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.2841, allocations: 442.1 kB / 437.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2841, allocations: 4 kB / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2841, allocations: 0 / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2841, allocations: 0 / 437.8 MB, free: 1.398 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001048/0.2851, allocations: 0.5605 MB / 438.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2852, allocations: 8.031 kB / 438.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.2853, allocations: 48.69 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.2858, allocations: 223.1 kB / 438.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.2858, allocations: 24.81 kB / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.2858, allocations: 24.38 kB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.2864, allocations: 291.9 kB / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2864, allocations: 0 / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.2864, allocations: 11.98 kB / 438.9 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2864, allocations: 8 kB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.2869, allocations: 201.9 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.2887, allocations: 1.109 MB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.2893, allocations: 202.6 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.2896, allocations: 120.8 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2896, allocations: 4 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.2899, allocations: 182.2 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.2899, allocations: 0 / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001421/0.2914, allocations: 445.9 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.2915, allocations: 136.5 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.2918, allocations: 241.1 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.2918, allocations: 29.7 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.292, allocations: 172.7 kB / 441.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.292, allocations: 67.42 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.2921, allocations: 53.66 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2923, allocations: 338.8 kB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2925, allocations: 71.97 kB / 442.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2927, allocations: 129.8 kB / 442.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.293, allocations: 168 kB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.293, allocations: 0 / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005909/0.2936, allocations: 294.1 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2936, allocations: 8 kB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2936, allocations: 0 / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.2939, allocations: 92.89 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2941, allocations: 27.98 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.2967, allocations: 2.043 MB / 445 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.2969, allocations: 39.83 kB / 445.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2969, allocations: 8 kB / 445.1 MB, free: 9.68 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: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.2971, allocations: 149.8 kB / 445.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.2972, allocations: 31.78 kB / 445.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.2972, allocations: 30.28 kB / 445.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2972, allocations: 7.938 kB / 445.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2972, allocations: 0 / 445.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.2972, allocations: 3.984 kB / 445.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2983, allocations: 0.7397 MB / 446 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2983, allocations: 4 kB / 446 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.2984, allocations: 15.98 kB / 446 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002621/0.2987, allocations: 92.78 kB / 446.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.2987, allocations: 4 kB / 446.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.3011, allocations: 2.043 MB / 448.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3011, allocations: 96 / 448.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.3018, allocations: 452.6 kB / 448.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3019, allocations: 63.72 kB / 448.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.3019, allocations: 4 kB / 448.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3022, allocations: 19.97 kB / 448.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3023, allocations: 35.94 kB / 448.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.3023, allocations: 4 kB / 448.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.3025, allocations: 180.5 kB / 448.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3025, allocations: 0 / 448.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004649/0.303, allocations: 91.89 kB / 449 MB, free: 5.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.3031, allocations: 99.25 kB / 449.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000784/0.3039, allocations: 346.3 kB / 449.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3039, allocations: 3.938 kB / 449.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.3043, allocations: 258.1 kB / 449.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3047, allocations: 56.66 kB / 449.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3059, allocations: 0.6089 MB / 450.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3064, allocations: 0.7717 MB / 451.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.3065, allocations: 18.23 kB / 451.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.3065, allocations: 27.44 kB / 451.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3065, allocations: 0 / 451.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of Templates: time 0.01018/0.3167, allocations: 5.095 MB / 456.3 MB, free: 14.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.840420267544687]